During caller-cwd follow-up verification, mise run test test/merge-driver.bats did not target just that file. The current test task shape effectively runs bats test/ "$@", so passing an explicit file starts the whole suite plus the extra arg; in my local run it printed the full suite and timed out at 300s around the merge-driver block.
Expected shape is the fold notes/bats-tool-testing.md pattern: a single test task that forwards args to BATS, defaults to test/ when no target is given, and supports direct file/bare-suite targeting.
Why it matters: targeted verification is part of review/debug workflow. If the task ignores or misinterprets file targets, agents either waste time on full suites or route around the real task path.
Observed while resolving modules#27; full mise run test later passed 107/107 after unrelated test fixes.
During caller-cwd follow-up verification,
mise run test test/merge-driver.batsdid not target just that file. The current test task shape effectively runsbats test/ "$@", so passing an explicit file starts the whole suite plus the extra arg; in my local run it printed the full suite and timed out at 300s around the merge-driver block.Expected shape is the fold
notes/bats-tool-testing.mdpattern: a singletesttask that forwards args to BATS, defaults totest/when no target is given, and supports direct file/bare-suite targeting.Why it matters: targeted verification is part of review/debug workflow. If the task ignores or misinterprets file targets, agents either waste time on full suites or route around the real task path.
Observed while resolving
modules#27; fullmise run testlater passed 107/107 after unrelated test fixes.