Skip to content

dmkozh/TestAdapter_Catch2

 
 

Repository files navigation

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 and later.

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 following links.

About

Visual Studio Test Adapter for Catch2

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 98.1%
  • C# 1.8%
  • Other 0.1%