/st2tests

Congregation of all tests pertaining to release of st2 software.

Primary LanguageShellApache License 2.0Apache-2.0

st2tests

Build Status

Congregation of all tests pertaining to release of st2 software.

Running BATS tests

  1. Make sure bats and other dependencies are installed
sudo apt-get install -y bats jq
  1. Clone repo
git clone https://github.com/StackStorm/st2tests.git
  1. 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

Updating bundled subtrees

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