You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is not related to remote-vscode or I checked the following issue
Imagine yourself into my position and think how hard to debug the issue without insufficient information.
I understand that you have privacy concerns and I expect you to understand that this extension is developed for free.
Thanks.
Describe the bug
A catch2 test containing failing sections, but containing the tag [!shouldfail] should not show as failed in TestExplorer.
For example, this test case is correctly handled, and will show as passing (though arguably it should be shown in yellow, and presented as an ignored test)
TEST_CASE("Catch2 Test", "[!shouldfail]")
{
FAIL("Failed to do stuff!");
}
However this test case will show as failed:
TEST_CASE("Catch2 SectionTest", "[!shouldfail]")
{
SECTION("Section 1") {
FAIL("Failed to do stuff!");
}
}
To Reproduce
Create a cpp file containing a TEST_CASE marked with a [!shouldfail] tag, and containing a failing SECTION.
Setup C++ TestMate extension to locate generated .exe file
Run the test case using Test Explorer
Screenshots (optional)
Desktop
Extension Version: 4.0.15
VS Code Version: 1.63.1
Catch2 / Google Test / DOCTest Version: Catch2 v2.9.2
OS Type and Version: Windows 10
Using remote-ssh/docker/wsl?: No
Regression bug?
Last extension version in which the feature were working: Unknown
Log (optional but recommended)
The text was updated successfully, but these errors were encountered:
Checklist
I understand that you have privacy concerns and I expect you to understand that this extension is developed for free.
Thanks.
Describe the bug
A catch2 test containing failing sections, but containing the tag [!shouldfail] should not show as failed in TestExplorer.
For example, this test case is correctly handled, and will show as passing (though arguably it should be shown in yellow, and presented as an ignored test)
However this test case will show as failed:
To Reproduce
Screenshots (optional)
Desktop
Regression bug?
Log (optional but recommended)
The text was updated successfully, but these errors were encountered: