Clone this wiki locally
General testing tips
Define a "testing" conditional symbol at compile time: nim --define:testing main.nim
when defined(testing): # testing-related code else: # production code
Functional and integration testing
Try to test every path of execution in your softwares. That is the key to maximizing your code coverages.