Use VS Code's testing UI to discover, filter, and run tests registered with CTest.
- Discover tests registered with CTest.
- Run tests from the Test view in VS Code.
- Automatically build before running tests.
- Visualize passed, failed, disabled, and skipped tests.
- CTest Lab can only expand the VS Code variable
${workspaceFolder}
in the build directory setting. If you know how to expand arbitrary VS Code variables, please comment on #7; I haven't found any documentation for this.
Read the user manual at https://brobeson.github.io/ctest-lab.