Use VS Code's testing UI to discover, filter, and run tests registered with CTest.
- Discover tests registered with CTest.
- Filter tests by CTest
LABELS
property. - Run individual 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, yet. - CTest Lab includes tests that are not built in the discovery results. See #12 for details.
- CTest Lab does not run
ctest
; it runs the actual test commands. This means that CTest Lab does not support CTest features, yet. For example, features are not run, test properties such asENVIRONMENT
andREQUIRED_FILES
are not respected. Watch #15 to see when I correct this.
Read the user manual at https://brobeson.github.io/ctest-lab.