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

MUnitRunner: avoid invoking fireTestStarted if a test is skipped. #601

Conversation

rpalcolea
Copy link
Contributor

@rpalcolea rpalcolea commented Nov 9, 2022

This moves down notifier.fireTestStarted(description) to only apply when a test is NOT ignored. This will not also follow the org.junit.runner.notification.RunNotifier contract but also unblock people in Gradle to use their enterprise features

I wonder if this could be added to a potential v1.0.0-M7

Here is a build scan that shows the tests working now in Gradle with this change https://scans.gradle.com/s/t2og6zyoc3nzc/tests/overview

@rpalcolea
Copy link
Contributor Author

Tagging @valencik and @armanbilge since it appears you are the most active contributors lately

Copy link
Contributor

@tgodzik tgodzik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change makes sense 👍

@tgodzik tgodzik merged commit 47961eb into scalameta:main Nov 10, 2022
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.

None yet

3 participants