Having trouble with the Testament tool

2024-03-23 Thread amkrajewski
As @thindil suggested, you may want to use _std/unittest_. It generally works great for small projects where you may not need any of Testament's cool features like multiple targets or report generation. [Here is an example](https://github.com/amkrajewski/nimCSO/blob/main/tests/algorithmSearch.n

Having trouble with the Testament tool

2024-03-22 Thread thindil
Testament requires the tests to be stored in a proper directories' hierarchy. For example, Nim tests: Example of working structure. The tests are in `tests/directory/test.nim` and `tests/directory2/anothertest.nim`. If you have that structure, t

Having trouble with the Testament tool

2024-03-22 Thread Kiloneie
I read some of the docs, checked the examples, and read trough ringabout's dev.to tutorial of [Testament Tutorial](https://dev.to/ringabout/how-to-use-testament-in-nim-1l0h). But i cannot get it to run any test, and i've tried several. I don't get it. Here is an example from ringabout's tutoria