Skip to content

brobeson/ctest-lab

Repository files navigation

CTest Lab

Build and Test

Use VS Code's testing UI to discover, filter, and run tests registered with CTest.

Features

  • Discover tests registered with CTest.
  • Filter tests by CTest LABELS property.
  • Run individual tests.

Known Issues

GitHub issues by-label GitHub issues by-label

  • 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 as ENVIRONMENT and REQUIRED_FILES are not respected. Watch #15 to see when I correct this.

User Manual

Read the user manual at https://brobeson.github.io/ctest-lab.