Best practices for Unit testing with Catch2 in Visual Studio
问题 I'm new to unit testing in C++ and want to get some advice on this. I use Visual Studio 2019 for development and I chose Catch2 as my testing library, I also got the Test Adapter for Catch2 installed. I read docs for both Catch2 and Test Adapter for Catch2 on GitHub, but I still cannot figure out a proper way to use unit test in Visual Studio. Let's assume that I already have a project with some classes in it and I want to test those classes. Should I put files with test code in the same