Congregation of all tests pertaining to release of st2 software.
- Make sure bats and other dependencies are installed
sudo apt-get install -y bats jq
- Clone repo
git clone https://github.com/StackStorm/st2tests.git
- Run tests or a specific test file
bats st2tests/cli/*.bats
bats st2tests/docs/*.bats
bats st2tests/chatops/*.bats
# or
bats st2tests/cli/test_execution_tail.bats
For example:
git subtree pull --prefix test_helpers/bats-assert https://github.com/ztombol/bats-assert.git master --squash
git subtree pull --prefix test_helpers/bats-support https://github.com/ztombol/bats-support.git master --squash