Run test located into DIRPATH folder.
Usage: teuton run DIRPATH
Alias: teuton foo
Running Teuton test located into example/01-target folder.
$ teuton run example/01-target
------------------------------------
Started at 2023-01-21 13:32:24 +0000
F
Finished in 0.004 seconds
------------------------------------
CASE RESULTS
+------+-----------+-------+-------+
| CASE | MEMBERS | GRADE | STATE |
| 01 | anonymous | 0.0 | ? |
+------+-----------+-------+-------+
Output files are saved into
var/01-targetfolder.
$ teuton help run
Usage:
teuton [run] [OPTIONS] DIRECTORY
Options:
[--export=EXPORT]
[--cname=CNAME]
[--cpath=CPATH]
[--case=CASE]
[--color], [--no-color]
[--quiet], [--no-quiet]
| ID | Command | Descriptiont |
|---|---|---|
| 01 | teuton foo | Run foo/start.rb, with config file foo/config.yaml |
| 02 | teuton run foo | Run foo/start.rb, with config file foo/config.yaml |
| 03 | teuton . | Run ./start.rb with ./config.yaml file |
| 04 | teuton run --export=json foo | Run foo/start.rb and force json format during exporting |
| 05 | teuton run --cname=rock foo | Run foo/start.rb with foo/rock.yaml config file |
| 06 | teuton foo/demo42.rb | Run foo/demo42.rb with foo/demo42.yaml config file |
| 07 | teuton run --cpath=starwars/jedi.yaml foo | Run foo/start.rb with starwars/jedi.yaml config file |
| 08 | teuton run --case=6,16 foo | Run foo/start.rb with foo/config.yaml config file but only for case id '06' and '16' |
By default, when you run teuton run foo, this will search for:
foo/start.rbtest file andfoo/config.yamlconfig file.
It's posible execute teuton run --cname=rock foo, and choose diferent config file into projet folder:
foo/start.rbtest file andfoo/rock.yamlconfig file.
cnameparam searchs YAML config file into the same project folder.
An also, it's posible execute teuton run --cpath=/home/obiwan/startwars.yaml foo, and choose config file using its absolute path:
foo/start.rbtest file and/home/obiwan/starwars.yamlconfig file.
cpathparam selects YAML config file, from the specified path.
When you execute teuton run foo/mazingerz.rb, this will search for:
foo/mazingerz.rbtest file andfoo/mazingerz.yamlconfig file.