-
Notifications
You must be signed in to change notification settings - Fork 93
Description
I think it would be nice if the project would allow one to choose between how it is now (without any framework) or use directly some framework.
I would suggest supporting Catch2 and GTest. Optionally also GMock and trompeloeil for mocking.
These have also special functions to use them in cmake, which is one of the reasons I would like them to see in such a template.
Another consideration would be the folder structure for tests. I've never seen a "source" or "src" folder in tests. What I often do is to add folders for the test types. Common is "unit_tests" and "integration_tests", but I guess that is far from a standard as well.
What would be considerable is an include folder I could imagine. I often use this for some "resuable" stuff like mock definitions. Again not sure how much standard that is.