| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
The run_all_tests.sh script provides a comprehensive way to run all batch script tests in the tests directory with configurable error handling behavior.
./run_all_tests.sh [OPTIONS]The script executes the BSS shell for each test file and checks the exit code. If a test's exit code is non-zero, it's considered a failure.
Note: The current implementation of the Batch Script Shell (BSS) may not propagate exit codes from commands within batch files correctly. For a test to register as failed, the shell process itself must return a non-zero exit code. Some improvements to the shell's error handling may be necessary to fully utilize this feature.
To make a test fail explicitly, use the exit /b <code> command in your batch script where <code> is a non-zero value.
Run all tests, stopping at the first failure:
./run_all_tests.shRun all tests, continuing even after failures:
./run_all_tests.sh --continueRun all tests with verbose output:
./run_all_tests.sh --verboseRun all tests with both continue and verbose options:
./run_all_tests.sh --continue --verbose| Back | FazBrowse Home | New Git URL |