Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>CppUnit Test ExplorerNew to Visual Studio Code? Get it now.
CppUnit Test Explorer

CppUnit Test Explorer

dprog

|
928 installs
| (0) | Free
Run your CppUnit tests in the Sidebar of Visual Studio Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

CppUnit Test Adapter for Visual Studio Code

Work in progress, project has just been started.

This extension aims to provide support for the CppUnit test framework. The current solution is based on the XML output of a CppUnit test run. Therefore add the following configuration to your workspace settings:

"cppUnitExplorer.executables": [{
  "exePath": "/path/to/the/test_exe",
  "xmlPath": "/path/to/the/results.xml"
}]
  • There is no support for running a single test case or a single test suite. The extension always runs all test cases and only updates the selected ones in the test explorer ui.
  • It is currently not possible to pass more than one executable/xml pair via the configuration value.
  • Jump to file/line is only possible for failed test cases and requires a reload. This is due to the format of the CppUnit XML report.
  • Added test cases/suits won't be added during a test run. This requires a reload. Removed test cases are shown as 'skipped'.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft