Releases: TypedDevs/bashunit
Releases · TypedDevs/bashunit
0.21.0
What's Changed
🏅 New Features
- Added bench feature to benchmark test performance #422
- Added max_ms option to detect slow benchmarks #424
- Supported placeholder ignore in snapshot comparisons #423
- Counted data providers in total test calculation #421
- Improved Windows detection for parallel tests #431
🐛 Bug Fixes
- Fixed parallel mode behavior #419
- Ensured consistency in parallel tests on arch64 #434
- Tested bashunit_exit_code behavior #420
- Fixed typo in message (“to has been called”) #414
🏗️ Miscellaneous
- Added weekly downloads chart and improved documentation #415
- Interpolated frontmatter variables for local search index #417
- Added project overview to the website #426
- Improved clock performance #427
- Made installer arguments more flexible #428
- Split macOS and Ubuntu CI jobs #435
🫂 Contributors
@Chemaclass, @antonio-gg-dev, @CosmeValera
Full Changelog: 0.20.0...0.21.0
checksum: 655f4e4af47d4f0f6c794e4906bc22f16d9e1cfb4e277f5fb3a679322205bc10 bin/bashunit
0.20.0
🔖 What's Changed
🥇 New Features
- Added
assert_not_called
to ensure a test double has not been invoked #410 - Introduced
assert_match_snapshot_ignore_colors
to support color-insensitive snapshot comparisons #404 - Enabled parallel test execution on Windows for improved cross-platform performance #409
- Enhanced
assert_have_been_called_with
to verify specific call arguments #408 - Enabled dynamic argument interpolation in data provider outputs #402
🐛 Bug Fixes
- Fixed assertion issues with test doubles when used in subshells #400
- Resolved temporary file conflicts in parallel spy usage #405
- Corrected behavior of test doubles under parallel execution #406
🌾 Miscellaneous
- Deprecated the
# data_provider
annotation in favor of# @data_provider
for clarity and consistency #407 - Improved performance of
find_total_tests
for faster test discovery #412 - Optimized
runner::parse_result_sync
to reduce execution overhead #413
⛵ Contributors
Full Changelog: 0.19.1...0.20.0
checksum: d1eed647b705ff91a3ce233b06cf300fcaf540a411404e2287d50c66699773a8
0.19.1
🔖 What's Changed
🐛 Bug fixes
- only run macOS-related tests on macOS by @tricktron in #397
- Avoid printf error on floating-point values by using awk by @drupol in #399
🌾 Miscellaneous
⛵ Contributors
Full Changelog: 0.19.0...0.19.1
checksum: 2d085bcb752a9b910db7a964b309a25960a19e778f40676ff51d9d7534891a48
0.19.0
🔖 What's Changed
🐛 Bug fixes
- Fix false negative with
set -e
#393 - Fix duplicate function detection to handle functions without function keyword #392
- Fix display name when test_test_* #388
- Fix display multiline errors within the same test #389
- Fix BASHUNIT_DEV_LOG in #386
🥇 New features
🌾 Miscellaneous
- New subdomain and orgName for SherpaCLI #391
- Test that covers the source of a file and check the spies in #380
⛵ Contributors
Full Changelog: 0.18.0...0.19.0
checksum: 1579cd17f6b82131888366467ee266ed0aaffa7f2dbdbba917f904fbc91ba216
0.18.0
🔖 What's Changed
🥇 New features
- Display seconds on time taken in #362
- Running in parallel in #358 #367 #371
- Verbose option in #374 #375
- Add assert_true and assert_false in #350 #352
- Add globals/common functions in #347
- Log info into file in #348
- Rename verbose to detailed in #369 #376
- Add assert_not_same function in #377
🌾 Miscellaneous
- Improve build in #364
- Improve installer in #360 #365
- Use mktemp compatible bash 3.2 in #355
- Normalize boolean syntax in #346
- Better cleanup temporal files in #349
- Add bashdep to installation in #351
- Improve CI tests runtime (halved) in #353
- Add some default env values in #356
- Rename logger.sh to reports.sh in #361
- Fix tr warning on ubuntu's CI in #373
⛵ Contributors
Full Changelog: 0.17.0...0.18.0
checksum: 70dffb79118b9dba8f1a8c83a60fdf79b01b0442c6260dba4e694522bc6637d7
0.17.0
🔖 What's Changed
🐛 Bugfix
- Improve simple output #342
🥇 New features
🌾 Miscellaneous
- Add support for Alpine (Linux Distro) in #331
- Improve debug output #332
- Improve loading extra file with BASHUNIT_LOAD_FILE #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
⛵ Contributors
Full Changelog: 0.16.0...0.17.0
checksum: f8d49a52ae5a89e86024feb21214693db31511a9eb391aad22dd2645aebd82f2
0.16.0
🔖 What's Changed
🐛 Bugfix
- Fix
clock::now()
can't locateTime/HiRes.pm
#319 - Fixed failing tests with command not found #325
- Use filter when calculating the total tests header #327
🥇 New features
🌾 Miscellaneous
- Update docs GitHub actions installation steps #324
⛵ Contributors
New Contributors
Full Changelog: 0.15.0...0.16.0
checksum: 128e00dbee2e5ba6b17e0b545e10681e78421fd30243693bc18bdbc4c47cfe40
0.15.0
What's Changed
https://bashunit.typeddevs.com/blog/2024-09-01-release-0-15
🐛 Bugfix
- Fix double
/
when running script #297 - Fix filter matching pattern with and without
test
prefix #302 - Fix wrong commit id when installing beta #316
🥇 New features
- Add assertions to log file in #298
- Prefix all .env config keys with
BASHUNIT_
#307 - Data providers support multiple arguments #311
- Remove multi-invokers in favor of data providers
- Add assert_same and improve assert_equals #313
- Use -v for version and -vvv for verbose #314
- Display total tests upfront #317
🌾 Miscellaneous
- Reducing shifts in entrypoint #295
- Remove deprecated uppercase methods on state_test file #303
- Remove ProductHunt & Manfred Awards from index #304
- Align the "Expected" with "but got" failure message #312
⛵ Contributors
Full Changelog: 0.14.0...0.15.0
checksum: a201257512fe99e10016e223f21f9ae5689627016856729462a597306474f7a3
0.14.0
What's Changed
https://bashunit.typeddevs.com/blog/2024-07-14-release-0-14
🐛 Bugfix
🥇 New features
- Enable custom assertions in #276
- Add logging (JUnit XML) in #279
- Generate report html in #281
- Debug option in #290
🌾 Miscellaneous
- Support "strict mode" in #239 #241 #285
- Checksum sha256 validation in #278 #287
- Add dump and dd in #286
- Improve build in #289
👏🏼 Contributors
Full Changelog: 0.13.0...0.14.0
checksum: 84822a2f2d3a84646abad5fe26e6d49a952c6e5ea08e3752443d583346cc4d56
0.13.0
What's Changed
🐛 Bugfix
🥇 New features
- Allow calling assertions outside tests in #258 #262
- Add
assert_line_count
by @staabm in #259 #264 #265 - Add
LATEST_BASHUNIT_VERSION
when installing beta in #260 - Add hash next to version in beta by @JesusValera in #267
- Allow adding extra info on print_failed_test in #263
🌾 Miscellaneous
- Add GitHub Actions to installation doc in #268
- Add PHPStan integration (blog post) in #273
- Test redirect file descriptor error in #274
👏🏼 New Contributors
⛵ Main Contributors
- @antonio-gg-dev, @khru, and @Chemaclass
Full Changelog: 0.12.0...0.13.0