bkahlert/Bats Wrapper
Run Bats (Bash Automated Testing System) tests
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| filter | Only run tests that match the regular expression | no | — |
| formatter | Switch between formatters: pretty (default), tap (default w/o term), tap13, junit | no | — |
| gather-test-outputs-in | Gather the output of failing *and* passing tests as files in directory | no | — |
| jobs | Number of parallel jobs | no | — |
| no-tempdir-cleanup | Preserve test output temporary directory | no | — |
| no-parallelize-across-files | Serialize test file execution instead of running them in parallel (requires --jobs >1) | no | — |
| no-parallelize-within-files | Serialize test execution within files instead of running them in parallel (requires --jobs >1) | no | — |
| report-formatter | Switch between reporters (same options as --formatter) | no | — |
| output | Directory to write report files | no | — |
| print-output-on-failure | Automatically print the value of `$output` on failed tests | no | — |
| recursive | Include tests in subdirectories | no | — |
| show-output-of-passing-tests | Print output of passing tests | no | — |
| timing | Add timing information to tests | no | — |
| trace | Print test commands as they are executed (like `set -x`) | no | — |
| verbose-run | Make `run` print `$output` by default | no | — |
| tests | Path to a Bats test file, or to a directory containing Bats test files (ending with ".bats") | yes | — |
Outputs
| name | description |
|---|---|
| status | Exit status/code of the test run |
| output | Output of the test run |