Release 0.17
🐛 Bugfix
Fixed simple output #342
Previously, the simple output was not working for non-succesful tests. Now, it works as perfectly in combination with the new feature that displays the failing tests again
.
Docs: Output
🏗️ New features
Display failing tests again #335
Display all failures and errors at the bottom so you have them all together.
Add test duration #333 #337
Now, you will know how fast your tests are. This is useful for identifying slow ones that might require extra attention.
Docs: Show execution time
Standalone exit_code output nicer #336
The stdout will be used for the callable result, while bashunit output will be on stderr. This way you can control the FD and redirect the output as you need.
Docs: Lazy evaluations
bash
./bashunit -a exit_code "0" "$PHPSTAN_PATH analyze \
--no-progress --level 8 \
--error-format raw ./" 2> /tmp/error.log
Testing.php:3:Method Testing::bar() has no return type specified.
✗ Failed: Main::exec assert
Expected '0'
but got '1'
🌾 Miscellaneous
- Add support for Alpine (Linux Distro) in #331
- Improve debug output #332
- Enable loading extra file with BASHUNIT_BOOTSTRAP #330
- Remove deprecated assertions #344
- Some required dependencies now optional: perl, coreutils #345
- Upgrade and install script can now use
wget
ifcurl
is not installed #345 - Tests can be also be timed by making use of
EPOCHREALTIME
on supported system #345
See the full changelog in GitHub