bashunit icon indicating copy to clipboard operation
bashunit copied to clipboard

Enable running a concrete test from a test file

Open Chemaclass opened this issue 2 months ago • 0 comments

Currently

Right now, you can specify what functions to run with -f|--filter option

 ./bashunit tests/unit/test_doubles_test.sh --filter test_spy_with_pipe_in_arguments

Task

Enable running a concrete test from a test file using :: syntax

For example:

./bashunit tests/unit/test_doubles_test.sh::test_spy_with_pipe_in_arguments

As another idea, by line number

./bashunit tests/unit/test_doubles_test.sh:171

Chemaclass avatar Oct 02 '25 09:10 Chemaclass