CMake Test Explorer for Visual Studio Code
Run your CMake tests using the Test Explorer UI.
- Shows a Test Explorer in the Test view in VS Code's sidebar with all detected tests and suites and their state
- Shows a failed test's log when the test is selected in the explorer
- Forwards the console output from the test executable to a VS Code output channel
- Install the extension
- Open the Test view
- Run your tests using the icon in the Test Explorer
|Location of the CMake build directory. Can be absolute or relative to the workspace. Defaults to empty, i.e. the workspace directory.