-
Notifications
You must be signed in to change notification settings - Fork 0
Folder structure
Richard Baltrusch edited this page Mar 3, 2021
·
2 revisions
The folder containing the scripts to be tested should contain a subfolder called tests (as in the example folder structure below). The tests folder must contain all test files that test the scripts under test.
+---scripts1
| \---tests
\---scripts2
\---tests
All test files must end with the suffix _test to be recognized and run by batest. For example, some_test.bat would be recognized and run by batest, but test_something.bat would not be.
To list all test files recognized by batest under a path without actually running them, use the --list [-l] option, as in the example below:
batest --list "path/to/folder"
More information on valid test folder structures is available in the examples.