C++ TestMate - Visual Studio Marketplace
C++ TestMate - Visual Studio Marketplace
C++ TestMate - Visual Studio Marketplace
Visual Studio Code > Other > C++ TestMate New to Visual Stud
C++ TestMate
Mate Pek | 60,810 installs | (10) | Free
Run GoogleTest, Catch2 and DOCtest tests from VSCode and VSCodium
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
This extension allows you to run your Catch2, Google Test and DOCtest tests using the Test Explorer for Visual google test googlemock googletest gtest
Studio Code. It also have basic support for Google Benchmark.
onqtam test testing testmate
Reloads test list of an executable if it is recompiled. (Hint: Right click -> Enable Autorun) Resources
Runs executables parallel (testMate.cpp.test.parallelExecutionLimit). Issues
Sorts tests and suites (testExplorer.sort). Repository
Supports popular debuggers such as vadimcn.vscode-lldb, webfreak.debug and ms- Homepage
vscode.cpptools out of the box. License
Changelog
Screenshots Download Extension
Project Details
matepek/vscode-catch2-test-adapter
No Pull Requests
Last Commit: 2 weeks ago
5 Open Issues
More Info
Version 3.6.26
Released on 25/08/2018 à 22:28:00
More features
One executable can be run parallel with distinct set of subtests to boost runtime.
Finds and recognises the executables by a given glob pattern. (More)
Automatically runs executables if it is modified ("..." -> "Enable autorun") or if a dependency is modified
(dependsOn)
Cooperates with other extensions like:
Test Explorer Status Bar
Test Explorer Live Share
Grouping can be fully customized. (Details)
Colorizes output window. (This might conflict with other output colorizer extensions, it's a vscode limitation.)
and many more.. Ask on gitter.
Configuration
The extension is *pre-configured and it should find executables inside the working directory which match the
following glob pattern: Not good enough for you?!: Edit your .vscode/settings.json file according to the
test.advancedExecutables!
testMate.cpp.___ Description
test grouping
parallel running
ingoring std error
...
This extension is built upon the Test Explorer so its configuration and commands can be used:
testExplorer.___ Description
onStart Retire or reset all test states whenever a test run is started
onReload Retire or reset all test states whenever the test tree is reloaded
gutterDecoration Show the state of each test in the editor using Gutter
Decorations
Sort the tests and suites by label or location. If this is not set
sort (or set to null), they will be shown in the order that they were
received from the adapter
showCollapseButton Show a button for collapsing the nodes of the test tree
showExpandButton Show a button for expanding the top nodes of the test tree,
recursively for the given number of levels
showOnRun Switch to the Test Explorer view whenever a test run is started
addToEditorContextMenu Add menu items for running and debugging the tests in the
current file to the editor context menu
mergeSuites Merge suites with the same label and parent
hideEmptyLog Hide the output channel used to show a test's log when the
user clicks on a test whose log is empty
{
"label": "Activate Test Explorer",
"type": "shell",
"command": "echo ${command:test-explorer.reload}",
"problemMatcher": [],
"runOptions": {
"runOn": "folderOpen" // This will cause the triggering. Have to run manually once!
}
}
ID Command
test-explorer.reload Reload tests
test-explorer.run-all Run all tests
test-explorer.run-file Run tests in current file
License
Support
Contribution
© 2021 Microsoft