Test code can be larger than 100 lines. For example: 
[https://github.com/nim-lang/Nim/blob/devel/tests/stdlib/tjsontestsuite.nim](https://github.com/nim-lang/Nim/blob/devel/tests/stdlib/tjsontestsuite.nim)
 Is it a good idea to put such a large test code under runnableExamples? Or if 
test code is larger than N (20~50?), put them in other file (e.g. 
"tests/tfoo.nim")?

I thought runnableExamples are example codes that help people learning how the 
proc works. These code are tested so that you don't write a example code that 
fail to compile or cause assert error. 

Reply via email to