Tags: TApplencourt/bats-core
Tags
Bats 1.2.0 - 2020-04-25 Support parallel suite execution and filtering by test name. * docs/CHANGELOG.md and docs/releasing.md (bats-core#122) * The `-f, --filter` flag to run only the tests matching a regular expression (bats-core#126) * Optimize stack trace capture (bats-core#138) * `--jobs n` flag to support parallel execution of tests with GNU parallel (bats-core#172) * AppVeyor builds are now semver-compliant (bats-core#123) * Add Bash 5 as test target (bats-core#181) * Always use upper case signal names to avoid locale dependent err… (bats-core#215) * Fix for tests reading from stdin (bats-core#227) * Fix wrong line numbers of errors in bash < 4.4 (bats-core#229) * Remove preprocessed source after test run (bats-core#232)
Bats 1.1.0 - 2018-07-08 This is the first release with new features relative to the original Bats 0.4.0. Added: * The `-r, --recursive` flag to scan directory arguments recursively for `*.bats` files (bats-core#109) * The `contrib/rpm/bats.spec` file to build RPMs (bats-core#111) Changed: * Travis exercises latest versions of Bash from 3.2 through 4.4 (bats-core#116, bats-core#117) * Error output highlights invalid command line options (bats-core#45, bats-core#46, bats-core#118) * Replaced `echo` with `printf` (bats-core#120) Fixed: * Fixed `BATS_ERROR_STATUS` getting lost when `bats_error_trap` fired multiple times under Bash 4.2.x (bats-core#110) * Updated `bin/bats` symlink resolution, handling the case on CentOS where `/bin` is a symlink to `/usr/bin` (bats-core#113, bats-core#115)
Bats 1.0.2 — June 18, 2018 * Fixed sstephenson/bats#240, whereby `skip` messages containing parentheses were truncated (bats-core#48) * Doc improvements: * Docker usage (bats-core#94) * Better README badges (bats-core#101) * Better installation instructions (bats-core#102, bats-core#104) * Packaging/installation improvements: * package.json update (bats-core#100) * Moved `libexec/` files to `libexec/bats-core/`, improved `install.sh` (bats-core#105)
Bats 1.0.1 — June 9, 2018 * Fixed a `BATS_CWD` bug introduced in bats-core#91 whereby it was set to the parent of `PWD`, when it should've been set to `PWD` itself (bats-core#98). This caused file names in stack traces to contain the basename of `PWD` as a prefix, when the names should've been purely relative to `PWD`. * Ensure the last line of test output prints when it doesn't end with a newline (bats-core#99). This was a quasi-bug introduced by replacing `sed` with `while` in bats-core#88.
Bats 1.0.0 — June 8, 2018 `1.0.0` generally preserves compatibility with `0.4.0`, but with some Bash compatibility improvements and a massive performance boost. In other words: - all existing tests should remain compatible - tests that might've failed or exhibited unexpected behavior on earlier versions of Bash should now also pass or behave as expected Changes: * Added support for Docker. * Added support for test scripts that have the [unofficial strict mode](http://redsymbol.net/articles/unofficial-bash-strict-mode/) enabled. * Improved stability on Windows and macOS platforms. * Massive performance improvements, especially on Windows (bats-core#8) * Workarounds for inconsistent behavior between Bash versions (bats-core#82) * Workaround for preserving stack info after calling an exported function under Bash < 4.4 (bats-core#87) * Fixed TAP compliance for skipped tests * Added support for tabs in test names. * `bin/bats` and `install.sh` now work reliably on Windows (bats-core#91)
PreviousNext