Move Module Tests into Module Folders?
What do you think of moving the module tests from /etc/unittests/test_module
into their respective module folders? This would
- allow to enable/disable them the same way as we do with the module itself (
-DBUILD_modulename=OFF
) - give a bit better structure and eases adding many tests to a single module
- adds some complexity and confusion to the module folder
- scatters configuration files through the whole framework (inside
src/
...) - makes it a bit harder to find other module tests do depend on
So there's some pros and cons.