Skip to content

Commit a12cb80

Browse files
authored
Add Catch2 test adapter extension (#47)
The extension discovers GTest based C++ tests in Visual Studio Code, where they can be run or debugged. The current settings only work in simple use-cases: matepek/vscode-catch2-test-adapter#429
1 parent 2ac6474 commit a12cb80

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/s-core-devcontainer/.devcontainer/devcontainer.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
"ms-python.python",
4949
"charliermarsh.ruff",
5050
"mads-hartmann.bash-ide-vscode",
51+
"matepek.vscode-catch2-test-adapter",
5152
"bazelbuild.vscode-bazel", // Bazel support for Visual Studio Code; see also bazel.lsp.command below
5253
"dbaeumer.vscode-eslint",
5354
"EditorConfig.EditorConfig",
@@ -80,6 +81,9 @@
8081
"--experimental_enable_label_completions"
8182
],
8283
"C_Cpp.intelliSenseEngine": "disabled",
84+
// This only supports basic tests: https://github.com/matepek/vscode-catch2-test-adapter/issues/429
85+
// More complex tests may need execution via bazel, which is not done yet.
86+
"testMate.cpp.test.executables": "bazel-bin/**/*{test,Test,TEST}*",
8387
"tasks": {
8488
"version": "2.0.0",
8589
"tasks": [

0 commit comments

Comments
 (0)