Testament requires the tests to be stored in a proper directories' hierarchy. 
For example, Nim tests: <https://github.com/nim-lang/Nim/tree/devel/tests>

Example of working structure. The tests are in `tests/directory/test.nim` and 
`tests/directory2/anothertest.nim`. If you have that structure, then in the 
main project's directory, where _project.nimble_ file is, execute the command 
`testament all`.

Another option is to use the package _std/unittest_ (or _unittest2_ , the 
external package). It is similar to unit tests libraries from other languages 
like C++ or Java.

Reply via email to