Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 1.48 KB

README.md

File metadata and controls

24 lines (16 loc) · 1.48 KB

Test Adapter for Catch2

Within Visual Studio, the Test Explorer is a convenient way to run and debug unit tests. This test adapter adds support for the Catch2 C++ test framework. This adapter is for use in combination with Visual Studio 2017.

How to get it

The Test Adapter for Catch2 is available via the Visual Studio Marketplace. It is available under the name "Catch Adapter for Catch2". The easiest way to get it is via "Extensions and Updates..." in the "Tools" menu. Of course you can also build it yourself.

A note on usage

Out of the box the extension does not discover tests. You need to add settings for the Test Adapter for Catch2 to a .runsettings file and use that as your test settings. This prevents the discovery mechanism from running non-Catch2 executables in your solution upon first use. See the Walkthrough for a detailed description on how to use the Test Adapter for Catch2.

Documentation

For documentation on the Test Adapter for Catch2 see the followng links.