https://github.com/stackstorm/st2tests
Congregation of all tests pertaining to release of st2 software.
https://github.com/stackstorm/st2tests
Last synced: 9 months ago
JSON representation
Congregation of all tests pertaining to release of st2 software.
- Host: GitHub
- URL: https://github.com/stackstorm/st2tests
- Owner: StackStorm
- License: apache-2.0
- Created: 2015-05-27T17:14:24.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2022-12-26T21:36:16.000Z (about 3 years ago)
- Last Synced: 2023-03-22T17:34:51.452Z (almost 3 years ago)
- Language: Shell
- Size: 1.23 MB
- Stars: 2
- Watchers: 24
- Forks: 12
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# st2tests
[](https://circleci.com/gh/StackStorm/st2tests)
Congregation of all tests pertaining to release of st2 software.
## Running BATS tests
1. Make sure bats and other dependencies are installed
```bash
sudo apt-get install -y bats jq
```
2. Clone repo
```bash
git clone https://github.com/StackStorm/st2tests.git
```
3. Run tests or a specific test file
```bash
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:
```bash
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
```