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
Describe the bug
I'm building a reporter from CulmulativeReporterBase. I'm iterating the children of the m_testRun, and walking through each child SectionNode.
Note that the scenario has two children, once called ReproWhenB and another called ReproGiven. There's a second ReproGIven under ReproWhenB, that contains the actual skipped test.
Expected behavior
Compare that to the output when I don't skip:
Now the scenario has one child, ReproGIven, which has two children, WhenA and WhenB. Nothing here looks weird.
Reproduction steps https://github.com/tenpn/catch2-skipreporter-repro
download, build with xbuild build, comment/uncomment the skip in src/ReproScenario.cpp, run the tests with xbuild run binary -r repro.
Platform information:
OS: Windows 10
Compiler+version: VS 2022 Community
Catch version: v3.7.0
The text was updated successfully, but these errors were encountered:
Describe the bug
I'm building a reporter from CulmulativeReporterBase. I'm iterating the children of the m_testRun, and walking through each child SectionNode.
I'm running it against a Scenario such as this:
When I uncomment the skip, I get very odd output:
Note that the scenario has two children, once called ReproWhenB and another called ReproGiven. There's a second ReproGIven under ReproWhenB, that contains the actual skipped test.
Expected behavior
Compare that to the output when I don't skip:
Now the scenario has one child, ReproGIven, which has two children, WhenA and WhenB. Nothing here looks weird.
Reproduction steps
https://github.com/tenpn/catch2-skipreporter-repro
download, build with
xbuild build
, comment/uncomment the skip in src/ReproScenario.cpp, run the tests withxbuild run binary -r repro
.Platform information:
The text was updated successfully, but these errors were encountered: