diff options
author | Federico Ceratto <federico.ceratto@gmail.com> | 2019-01-24 10:24:58 +0000 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2019-01-24 11:24:58 +0100 |
commit | 15ee5d65d16be620cf777d462105d0092a26dda4 (patch) | |
tree | 96633f3a0402df693a44181076817f1b29148eb8 /doc/contributing.rst | |
parent | f9a0eaf89d6e14fa7b7288962628cafdd5b1256d (diff) | |
download | Nim-15ee5d65d16be620cf777d462105d0092a26dda4.tar.gz |
Add koch run example (#10434)
Diffstat (limited to 'doc/contributing.rst')
-rw-r--r-- | doc/contributing.rst | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/contributing.rst b/doc/contributing.rst index e3ab697d3..b90d61270 100644 --- a/doc/contributing.rst +++ b/doc/contributing.rst @@ -60,7 +60,7 @@ Compiler -------- 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 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 +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 run by Continuous Integration on travis/appveyor), you may want to disable your |