Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doctest group by suite #391

Closed
gruenedd opened this issue Jul 7, 2023 · 4 comments
Closed

doctest group by suite #391

gruenedd opened this issue Jul 7, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@gruenedd
Copy link

gruenedd commented Jul 7, 2023

Using doctest and given

TEST_SUITE("First")
{
  TEST_CASE("MyTest") { FAIL(""); }
}

TEST_SUITE("Second")
{
  TEST_CASE("MyTest") { FAIL(""); }
}

Testmate only shows "MyTest [Second]" (MyTest [First] is not shown)

I would expect that it automatically groups via suite and shows both unless grouping is defined otherwise.

First
`-- MyTest
Second
`-- MyTest

Even if this is not the default, how group suits (or other scoped constructs like fixtures and such)?

Cheers

@matepek matepek added the bug Something isn't working label Jul 23, 2023
@matepek
Copy link
Owner

matepek commented Jul 23, 2023

Fixed in v4.5.0.

This issue was mentioned in CHANGELOG.md under a released entry so it is assumed to be fixed.
User verifications are always welcome.

@matepek matepek closed this as completed Jul 23, 2023
@matepek
Copy link
Owner

matepek commented Jul 26, 2023

Harder than I thought. Have to revert it

@matepek matepek reopened this Jul 26, 2023
@matepek
Copy link
Owner

matepek commented Jul 27, 2023

doctest command line interface has some limitations... I'm not sure I can give a proper solution

@matepek
Copy link
Owner

matepek commented Sep 4, 2023

should work now

@matepek matepek closed this as completed Sep 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants