On 2015-04-01 21:18, Kapps wrote:
The only issue I have with the way unittests are done right now, is the incredibly annoying requirement of having a main function and that main gets called. It makes generic tooling and CI systems much more annoying, as you have to try and guess whether you need to create a fake main() (or pass in -main), and worry about if the code is going to keep running after tests complete.
I just don't compile the module congaing the main function. Although I place the my tests in a completely separate directory.
-- /Jacob Carlborg
