summary refs log tree commit diff stats
path: root/tests/config.nims
blob: e91c3aa4f324e95261c0ce307d06b3e48fcdbc4e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
switch("path", "$lib/../testament/lib")
  # so we can `import stdtest/foo` inside tests
  # Using $lib/../ instead of $nim/ so you can use a different nim to run tests
  # during local testing, eg nim --lib:lib.

## prevent common user config settings to interfere with testament expectations
## Indifidual tests can override this if needed to test for these options.
switch("colors", "off")
switch("listFullPaths", "off")
switch("excessiveStackTrace", "off")