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

junit5: override test discovery #3983

Merged
merged 3 commits into from
Nov 18, 2024
Merged

junit5: override test discovery #3983

merged 3 commits into from
Nov 18, 2024

Conversation

jodersky
Copy link
Member

This changes discovery of test classes for Junit5, to be in line with that of sbt-jupiter-interface.

Closes #3910

This changes discovery of test classes for Junit5, to be in line with
that of sbt-jupiter-interface.

Closes #3910
@jodersky jodersky requested a review from lihaoyi November 18, 2024 09:51
@lihaoyi
Copy link
Member

lihaoyi commented Nov 18, 2024

Looks good, but lets add at least one small unit test to reproduce the current misbehavior and assert the fix

@jodersky
Copy link
Member Author

Looks good, but lets add at least one small unit test to reproduce the current misbehavior and assert the fix

working on it. I guess I shouldn't tagged you on the PR before I was done ;)

@lihaoyi
Copy link
Member

lihaoyi commented Nov 18, 2024

Haha, well the text did say "requested a review", so i reviewed it :p

@jodersky
Copy link
Member Author

Sorry for the noise @lihaoyi, I'll wait before tagging you next time. I hope this is the right way to test this, let me know if there is a preferred other way.

@lihaoyi
Copy link
Member

lihaoyi commented Nov 18, 2024

No worries! always happy to take a look.

For your next PR better to open it from your own fork, that way we don't run all the jobs twice once for push and once for pull request

@lihaoyi
Copy link
Member

lihaoyi commented Nov 18, 2024

Looks great, thanks @jodersky !

@lihaoyi lihaoyi merged commit 15e4019 into main Nov 18, 2024
53 of 54 checks passed
@lihaoyi lihaoyi deleted the jo/junit5 branch November 18, 2024 11:40
@lefou lefou added this to the 0.12.3 milestone Nov 18, 2024
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 this pull request may close these issues.

Junit5 test discovery reports spurious test runs for non-test classes (500USD bounty)
3 participants