summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2025-05-12 20:29:49 +0200
committerRoman Smrž <roman.smrz@seznam.cz>2025-05-12 20:38:14 +0200
commitf93e2335aea6f20af143347defd07a214206c11d (patch)
treee282f80735b3b717ccfd65d35fddb55c6eacc844 /README.md
parent1ead6b1931f79e1bed7fef75ae57a751c29e8d79 (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.md18
1 files changed, 15 insertions, 3 deletions
diff --git a/README.md b/README.md
index 511501b..15fb488 100644
--- a/README.md
+++ b/README.md
@@ -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