Add koch run example (#10434)
This commit is contained in:
parent
f9a0eaf89d
commit
15ee5d65d1
1 changed files with 8 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ Compiler
|
||||||
--------
|
--------
|
||||||
|
|
||||||
The tests for the compiler use a testing tool called ``testament``. They are all
|
The tests for the compiler use a testing tool called ``testament``. They are all
|
||||||
located in ``tests/`` (eg: ``tests/destructor/tdestructor3.nim``).
|
located in ``tests/`` (e.g.: ``tests/destructor/tdestructor3.nim``).
|
||||||
Each test has its own file. All test files are prefixed with ``t``. If you want
|
Each test has its own file. All test files are prefixed with ``t``. If you want
|
||||||
to create a file for import into another test only, use the prefix ``m``.
|
to create a file for import into another test only, use the prefix ``m``.
|
||||||
|
|
||||||
|
|
@ -115,6 +115,13 @@ list of these, see ``testament/categories.nim``, at the bottom.
|
||||||
|
|
||||||
./koch tests c lib
|
./koch tests c lib
|
||||||
|
|
||||||
|
To run a single test:
|
||||||
|
|
||||||
|
::
|
||||||
|
|
||||||
|
./koch tests c <category>/<name>
|
||||||
|
|
||||||
|
E.g. ``./koch test run stdlib/thttpclient_ssl``
|
||||||
|
|
||||||
For reproducible tests (to reproduce an environment more similar to the one
|
For reproducible tests (to reproduce an environment more similar to the one
|
||||||
run by Continuous Integration on travis/appveyor), you may want to disable your
|
run by Continuous Integration on travis/appveyor), you may want to disable your
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue