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.batsFor 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 --squashStackStorm supports mulitple versions of python across numerous GNU/Linux distributions. To define python dependencies in a
reproducible fashion, the pip-compile tool is used to resolve dependencies from the requirements.in file. The requirements
are kept up to date with the st2 repository and should be regenerated when requirements are updated.