GoogleTest adapter READMEAllows viewing all GoogleTests in a tree view, and running/debugging them. FeaturesThis extension presents all GoogleTests in your application in a tree view. The developer can then run/debug any of these tests. Usage
This extension is standalone, and doesn't depend on any other extensions. To use this extension, you must first define a "Debug" configuration in
Extension SettingsThis extension contributes the following settings:
In addition to these specific extensions settings, this extension creates adds to the
Known IssuesThere is no way to navigate from a tree leaf to the corresponding test, if you are using versions of GoogleTest prior to version 1.8.1 . (more information about GoogleTest versions here ) Codelens isn't available , if you are using versions of GoogleTest prior to version 1.8.1 . (more information about GoogleTest versions here )
Codelens isn't updated when changes are made to the code. To refresh Codelens, you need to rebuild the googletest application , and refresh the tests tree. If the Codelens with this limitation is distracting, it can be disabled by setting
Links in GoogleTest output will not work if other extensions declare languages for output windows. This is a limitation of VsCode, which doesn't allow to declare a specific language per Output Channel. Links in GoogleTest output wich contain spaces are not recognized. VsCode doesn't support such links, either.
When running with multiple configurations, Codelens only takes 1 configuration into account. This account can be specified with the setting
When running with multiple configurations,
Release Notes1.8.31.8.11.8.01.7.0Feature: When navigating from a tree leaf to the corresponding test is available, double clicking on a leaf, will go to the corresponding test. Bug Fix: Debug from the toolbar works Bug Fix: When debugging using the extension, Restart uses the previous selected test 1.6.21.5.0Feature: Better Hierarchical display when having parametrized tests
Feature: If
Bug Fix: Uses the
1.4.01.3.1
gtest-adapter.refreshAfterBuild
is set to true, will reload the test tree after every build task. Fixes Ubuntu install issue.
1.3.01.2.51.2.41.2.31.2.11.2.01.1.11.1.01.0.81.0.71.0.61.0.51.0.41.0.31.0.21.0.1Minor tweaks. 1.0.0Initial release of GoogleTest Adapter. |
|