TestAdapter_Catch2 | Visual Studio Test Adapter for Catch2 | Unit Testing library
kandi X-RAY | TestAdapter_Catch2 Summary
kandi X-RAY | TestAdapter_Catch2 Summary
Visual Studio Test Adapter for Catch2
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of TestAdapter_Catch2
TestAdapter_Catch2 Key Features
TestAdapter_Catch2 Examples and Code Snippets
Community Discussions
Trending Discussions on TestAdapter_Catch2
QUESTION
So far I've been developing my project using CLion on Linux and everything worked fine, but now I'm trying to setup my project on Windows to get familiar with the Visual Studio IDE, and I'm having trouble getting Visual Studio to discover my tests.
I'm using the CMake project directly in Visual Studio and things like building, running and etc. work fine, the problem beings when I try to run the individual tests using the Run Test
option in the editor - the Test Explorer doesn't see them.
I've installed the Catch2 Test Adapter
and added the required .runsettings
, as described here but even with that the only things that I see in Tests output is
ANSWER
Answered 2020-Jan-19 at 12:27Ok, I got it working by generating a Visual Studio Solution and using it instead of the CMake project, my .runsettings
look like this:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install TestAdapter_Catch2
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page