TypedDevs / bashunit

A simple testing library for bash scripts. Test your bash scripts in the fastest and simplest way, discover the most modern bash testing library.
https://bashunit.typeddevs.com
MIT License
271 stars 21 forks source link

Find tests inside a folder #215

Closed antonio-gg-dev closed 7 months ago

antonio-gg-dev commented 8 months ago

This feature no longer works, and there are no acceptance tests either.

imagen

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.

imagen

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.

antonio-gg-dev commented 8 months ago

There should be acceptance tests for the 7 behaviors (yes, 7) that this feature has.