Move unit tests to their own module #595
Comments
|
That's a good idea. I can update the TS unit test to abide this, and I'll look at bringing the existing tests to bear with it as well. Should be pretty easy right now, as they're self contained in their own little bubble ;) |
|
Yeah, and I do like that they have their own little ghetto :P. The problem is, if you want to add/remove a module that has unit tests, I don't want you to have to move source files into/out of the tests directory - the tests should be contained in the director(y|ies) added by the plugin. So overall I think a |
|
Torque 2D simply uses the |
|
As part of #706, I've added a flag |
|
Good idea to add the flag. I'll try this weekend. |
There should be a single Project Generator or CMake switch to enable unit tests across all submodules. The code should be excluded from the engine if tests are not enabled.
The text was updated successfully, but these errors were encountered: