We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80dffc5 commit 0a60675Copy full SHA for 0a60675
2 files changed
CHANGELOG.md
@@ -1,5 +1,9 @@
1
# Changelog
2
3
+## Unreleased
4
+
5
+- Fix bench tests missing test_file var
6
7
## [0.25.0](https://github.com/TypedDevs/bashunit/compare/0.23.0...0.24.0) - 2025-10-05
8
9
- Add AI developer tools integration and guidelines
src/runner.sh
@@ -60,7 +60,7 @@ function runner::load_bench_files() {
60
for bench_file in "${files[@]}"; do
61
[[ -f $bench_file ]] || continue
62
unset BASHUNIT_CURRENT_TEST_ID
63
- export BASHUNIT_CURRENT_SCRIPT_ID="$(helper::generate_id "${test_file}")"
+ export BASHUNIT_CURRENT_SCRIPT_ID="$(helper::generate_id "${bench_file}")"
64
# shellcheck source=/dev/null
65
source "$bench_file"
66
if ! runner::run_set_up_before_script "$bench_file"; then
0 commit comments