I am just working my way into testament and wonder if it is possible to have the .exe files that testament creates for each test in the same folder, automatically created in a different folder (like: project/builds/test/bin)
One possibility I have found is to include something like this in each test file:
discard """
cmd: "nim c -r $options --outdir:builds/tests/bin $file"
"""
I then start testament with:
testament pattern tests/main/*.nim
and the exe files are created in the directory project/builds/test/bin
Unfortunately, testament then can't find the freshly created exe files and aborts the rest of the test.
Does anyone have any good advice for me on how to cleanly solve this problem?