diff options
author | Roman Smrž <roman.smrz@seznam.cz> | 2025-05-12 20:29:49 +0200 |
---|---|---|
committer | Roman Smrž <roman.smrz@seznam.cz> | 2025-05-12 20:38:14 +0200 |
commit | f93e2335aea6f20af143347defd07a214206c11d (patch) | |
tree | e282f80735b3b717ccfd65d35fddb55c6eacc844 /README.md | |
parent | 1ead6b1931f79e1bed7fef75ae57a751c29e8d79 (diff) |
Select tests from project configuration by name
Changelog: Select tests from project configuration using only test name on command line without script path.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 18 |
1 files changed, 15 insertions, 3 deletions
@@ -56,14 +56,26 @@ cmake --build build erebos-tester --verbose ``` -To run tests from a given test file, pass it as command-line argument: +To run all tests from project configuration (see below), run the tester without any argument: ``` -erebos-tester path/to/script.test +erebos-tester +``` + +To run only some named tests, list the names on command line: +``` +erebos-tester FirstTest SecondTest +``` + +To run tests from a given test file, pass it as command-line argument (the path +must contain a slash, so use e.g. `./script.et` for script in the current +directory): +``` +erebos-tester path/to/script.et ``` To select single test from a file, use `:` separator: ``` -erebos-tester path/to/script.test:TestName +erebos-tester path/to/script.et:TestName ``` Configuration |