<div dir="ltr">Hi List,<br><br>What are the conventions regarding placement of unit test code and invocation?<br>Considerations:<br>I tend to generate a lot of unit tests - 2x..4x SLOC of the tested module's code is not uncommon.<br>
Should the unit test functions be placed in their own module? <br>If so - what is the naming convention for the new modue: 'test_mymod' / 'mymod_test' or something else?<br>What is the preferred way, if there are many small UT functions: function *_test() per UT, or separate into test sets by group, e.g.: api_unit_test_(), internal_unit_test_().<br>
<br>Cheers,<br>Alex.<br><br><br></div>