Skip to content

Releases: TypedDevs/bashunit

0.23.0

03 Aug 12:57
966de2f
Compare
Choose a tag to compare

What's Changed

🏅 New Features

  • Add support for .bash test files #459
  • Add set_test_title to allow custom test titles #472
  • Add new assert_exec #469

🐛 Bug Fixes

  • Add fallback for clock with seconds resolution only #471

🏗️ Miscellaneous

  • Update docs for mock usage #462
  • Add minimum supported Bash version 3.2 check #460
  • Skip report tracking unless requested #473

🫂 Contributors

@Chemaclass @drupol @akinomyoga

Full Changelog: 0.22.3...0.23.0

7043c1818016f330ee12671a233f89906f0d373f3b2aa231a8c40123be5a222b bashunit

0.22.3

27 Jul 02:28
35fba18
Compare
Choose a tag to compare

What's Changed

🐛 Bug Fixes

🫂 Contributors

@Chemaclass

Full Changelog: 0.22.2...0.22.3

checksum: efae498584b4f11cd05e4acbba586009e391259fdbfac391844b75b7552e00d7 bin/bashunit

0.22.2

26 Jul 13:49
7ed61b1
Compare
Choose a tag to compare

What's Changed

🏅 New Features

  • Add line number to failing tests #455

🐛 Bug Fixes

  • Fix broken core snapshot tests #452 #454

🫂 Contributors

@Chemaclass @drupol

Full Changelog: 0.22.1...0.22.2

checksum: b52b602de0f1d345cc99b07506840d6beaa5c64d1e631e7243866d7e3273f439 bin/bashunit

0.22.1

22 Jul 22:08
425eb93
Compare
Choose a tag to compare

What's Changed

🐛 Bug Fixes

  • Fix prevent writing in source directory during tests #448
  • Fix negative widths with rpad #449
  • Fix internal assert_line_count and call_test_functions

🏗️ Miscellaneous

  • Improve suffix assertion checks to use shell pattern matching
  • Include calling function name in dev log output for easier debugging
  • Add more internal dev log messages and prefix them with [INTERNAL]
    • Toogle internal log messages with BASHUNIT_INTERNAL_LOG=true|false

🫂 Contributors

@Chemaclass @drupol

Full Changelog: 0.22.0...0.22.1

checksum: 7706f5987e3dc6868694ed3c38b0b085a02d1404c01f31c21c923ec8e7d4bc55 bin/bashunit

0.22.0

20 Jul 12:46
b814e83
Compare
Choose a tag to compare

What's Changed

🏅 New Features

  • Add --init option to get you started quickly #440 #443
  • Add --no-output option #446

🐛 Bug Fixes

  • Fix process time always shows as '0 ms' #437
  • Fix terminal width first tput and fall back stty #438

🏗️ Miscellaneous

  • Optimize clock with a precompute implementation #439
  • Optimize --help message #444

🫂 Contributors

@Chemaclass

Full Changelog: 0.21.0...0.22.0

checksum: a941fb4006e4fc20a6928bf23e3cd3357fbb5740f5bed6f85f532ab7993e882d bin/bashunit

0.21.0

18 Jun 13:21
c1b0e17
Compare
Choose a tag to compare

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

01 Jun 11:04
9b7d0b3
Compare
Choose a tag to compare

🔖 What's Changed

https://bashunit.typeddevs.com/blog/2025-06-01-release-0-20

🥇 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

23 May 15:10
ea54451
Compare
Choose a tag to compare

🔖 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

  • update shebang with #!/usr/bin/env bash by @drupol in #398

⛵ Contributors

Full Changelog: 0.19.0...0.19.1

checksum: 2d085bcb752a9b910db7a964b309a25960a19e778f40676ff51d9d7534891a48

0.19.0

19 Feb 12:59
b4f8631
Compare
Choose a tag to compare

🔖 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

  • Display seconds on time taken #362
  • Improve the output adding a space between each test file #385

🌾 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

16 Oct 13:40
705a2d6
Compare
Choose a tag to compare

🔖 What's Changed

https://bashunit.typeddevs.com/blog/2024-10-16-release-0-18

🥇 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