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

Missing class names in test reports #125

Closed
jodersky opened this issue Nov 19, 2024 · 1 comment · Fixed by #126
Closed

Missing class names in test reports #125

jodersky opened this issue Nov 19, 2024 · 1 comment · Fixed by #126

Comments

@jodersky
Copy link
Member

After merging #87, class names are no longer part of reported test names.

E.g. instead of printing foo.Bar#testMethod(), now the reporter only prints #testMethod()

I narrowed down this change in behavior to 7adbdd0, which removes the need to skip the first element of a test identifier as is still done (https://github.com/sbt/sbt-jupiter-interface/blob/main/src/library/src/main/java/com/github/sbt/junit/jupiter/internal/Configuration.java#L321)

Strangely however, the tests were updated to exclude the classnames. f14d04c

@jodersky
Copy link
Member Author

If I remove the skip(1), the behavior seems correct again, however the formatting then breaks for tests with an @Suite annotation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant