Skip to content
| Marketplace
Sign in
Visual Studio Code>Testing>CMake Test ToolsNew to Visual Studio Code? Get it now.
CMake Test Tools

CMake Test Tools

Yifei Zhang

|
7,616 installs
| (2) | Free
Test Case runner for c++ project with CMake support, support Google Test / Catch2.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

CMake Test Tools Extension for VSCode

This extension is an alternative of TestMate Extension, supports Google Test and Catch2.

banner.png

Preview

Here is a screen recording GIF file. Please be patient if your network connection is slow.

demo.gif

Features

  • Blazing fast discovering tests from opening files, but not from whole project, which makes it faster than TestMate in huge projects;
  • Add run and debug inline Code Lens actions to document;
  • Integrated with Offical CMake Tools Extension.

Requirements

All requirements are same as CMake Tools Extension.

Usage

Before click run and debug button, please make sure that the CMake build target and CMake launch target in the status bar are consistent, and that the target include the file of the case you want to run.

usage

Extension Settings

  • No Settings yet.

Known Issues

If you encounter any issues while using, please submit an issue here.

Release Notes

See change log;

License

  • Licensed by Anti 996 License
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft