- update to 1.5.0:
* new command line flags
* `--verbose-run`: Make `run` print `$output` by default
* `-x`, `--trace`: Print test commands as they are executed (like `set -x`)`
* `--show-output-of-passing-tests`: Print output of passing tests
* `--print-output-on-failure`: Automatically print the value of `$output` on
failed tests
* `--gather-test-outputs-in <directory>`: Gather the output of failing **and**
passing tests as files in directory
* Experimental: add return code checks to `run` via `!`/`-<N>`
* `install.sh` and `uninstall.sh` take an optional second parameter for the lib
folder name to allow for multilib install, e.g. into lib64
* add `run` flag `--keep-empty-lines` to retain empty lines in `${lines[@]}`
* add `run` flag `--separate-stderr` which also fills `$stderr` and
`$stderr_lines`
* don't glob `run`'s `$output` when splitting into `${lines[@]}`
* remove empty line after test with pretty formatter on some terminals
* don't run setup_file/teardown_file on files without tests, e.g. due to
filtering
* print final line without newline on Bash 3.2 for midtest (ERREXIT) failures
* abort with error on missing flock/shlock when running in parallel mode
* improved `set -u` test and fixed some unset variable accesses
* shorten suite/file/test temporary folder paths to leave enough space even on
restricted systems
* added BATS_TEST_TMPDIR, BATS_FILE_TMPDIR, BATS_SUITE_TMPDIR
* added checks and improved documentation for `$BATS_TMPDIR`
* the docker container now uses [tini](https://github.com/krallin/tini) as the
container entrypoint to improve signal forwarding
* script to uninstall bats from a given prefix
* replace preprocessed file path (e.g. `/tmp/bats-run-22908-NP0f9h/bats.23102.src`)
OBS-URL: https://build.opensuse.org/request/show/933599
OBS-URL: https://build.opensuse.org/package/show/devel:tools/bats?expand=0&rev=23
- update to 1.2.1:
* added:
- JUnit output and extensible formatter rewrite (#246)
- load function now reads from absolute and relative paths, and $PATH (#282)
- Beginner-friendly examples in /docs/examples (#243)
- @peshay's bats-file fork contributed to bats-core/bats-file (#276)
* changed:
- Duplicate test names now error (previous behaviour was to issue a warning) (#286)
- Changed default formatter in Docker to pretty by adding ncurses to Dockerfile, override with --tap (#239)
- Replace "readlink -f" dependency with Bash solution (#217)
- Install to /usr/libexec on Tumbleweed
OBS-URL: https://build.opensuse.org/request/show/849515
OBS-URL: https://build.opensuse.org/package/show/devel:tools/bats?expand=0&rev=17
* Added:
- docs/CHANGELOG.md and docs/releasing.md (#122)
- The -f, --filter flag to run only the tests matching a regular expression (#126)
- Optimize stack trace capture (#138)
- --jobs n flag to support parallel execution of tests with GNU parallel (#172)
* Changed:
- AppVeyor builds are now semver-compliant (#123)
- Add Bash 5 as test target (#181)
- Always use upper case signal names to avoid locale dependent err… (#215)
- Fix for tests reading from stdin (#227)
- Fix wrong line numbers of errors in bash < 4.4 (#229)
- Remove preprocessed source after test run (#232)
OBS-URL: https://build.opensuse.org/package/show/devel:tools/bats?expand=0&rev=15