Is there a sample project for using Catch for Unit testing?
Answered
I'm trying to integrate Catch with my larger code base, and currently I'm running into an issue with compiling it separately from the rest of my project. My cmake script is trying to compile it with the rest of my code leaving me with two mains, and causing failure at link time. I followed the tutorial on Catch's github page for setting it up through CMake, but it isn't a complete example or CMake handling of some of the commands might have changed by 3.8.
Are there any good sample projects I may reference?
Please sign in to leave a comment.
This demo project may help: https://github.com/anastasiak2512/CLion2017_1Demo