Closed antonio-gg-dev closed 7 months ago
This feature no longer works, and there are no acceptance tests either.
It seems to have stopped working after allowing the test path to be defined in the .env file.
If you specify a directory as the path for your tests, all files ending in test.sh within that directory and its subdirectories should run.
The error Error: At least one file path is required. is being displayed and the help is printed below.
Error: At least one file path is required.
Download this repository and run ./bashunit tests/ at the root.
./bashunit tests/
All files ending in test.sh within that directory and its subdirectories should run.
There should be acceptance tests for the 7 behaviors (yes, 7) that this feature has.
This feature no longer works, and there are no acceptance tests either.
It seems to have stopped working after allowing the test path to be defined in the .env file.
Summary
If you specify a directory as the path for your tests, all files ending in test.sh within that directory and its subdirectories should run.
Current behavior
The error
Error: At least one file path is required.
is being displayed and the help is printed below.How to reproduce
Download this repository and run
./bashunit tests/
at the root.Expected behavior
All files ending in test.sh within that directory and its subdirectories should run.