Open jhuels opened 2 months ago
Hello, I was not able to reproduce with setting:
"testMate.cpp.test.advancedExecutables": [
{
"pattern":"./build/gtest1.exe",
"testGrouping": {
"testId": "TestName",
"tags": [ "TestSuite" ],
"testGrouping": {
"groupByExecutable": {
"label": "Debug - ${baseFilename}",
"groupByTags": { "tags": [], "tagFormat": "${tag}" }
}
}
}
},
Checklist
Describe the bug
When a test changes status it sometimes disappears from the test explorer UI. I notice this more when going from fail -> pass, but sometimes get this when going from fail/success -> not run.
This can also happen to groupings of tests.
To Reproduce
Screenshots (optional)
Desktop
Name: C++ TestMate Id: matepek.vscode-catch2-test-adapter Description: Run GoogleTest, Catch2 and DOCtest tests from VSCode Version: 4.12.0 Publisher: Mate Pek VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=matepek.vscode-catch2-test-adapter
Regression bug?
I don't think so, I've noticed this for a long time.
**Log** (optional but recommended)
```js [2024-09-17 18:07:44.785] [INFO] proc starting /home/jhuels/path/to/test [ '--gtest_color=no', '--gtest_filter=TestSuite.TestName', '--gtest_also_run_disabled_tests' ] /home/jhuels/path/to/test [2024-09-17 18:07:44.792] [INFO] proc started 214564 /home/jhuels/path/to/test { shared: { workspaceFolder: { uri: f { scheme: 'file', authority: '', path: '/home/jhuels/path/to/code', query: '', fragment: '', _formatted: 'file:///home/jhuels/path/to/code', _fsPath: '/home/jhuels/path/to/code' }, name: 'project_name', index: 0 }, log: { _logger: { configSection: 'testMate.cpp.log', workspaceFolder: undefined, outputChannelName: 'C++ TestMate', inspectOptions: [Object], includeLocation: false, targets: [Array], nextInspectOptions: undefined, configChangeSubscription: [Object] } }, testController: { controller: { items: [Object], label: [Getter/Setter], refreshHandler: [Getter/Setter], id: [Getter], relatedCodeProvider: [Getter/Setter], createRunProfile: [Function: createRunProfile], createTestItem: [Function: createTestItem], createTestRun: [Function: createTestRun], invalidateTestResults: [Function: invalidateTestResults], resolveHandler: [Getter/Setter], dispose: [Function: dispose] }, testItem2test: WeakMap {Sorry these tests are in an export controlled system so I have to manually redact them. If you need more please let me know.