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

Fix #1943: Support JUnit's @Ignore on test class #1961

Conversation

WojciechMazur
Copy link
Contributor

Resolves #1943

This PR fixes behaviour of Native JUnit by allowing to annotate whole test class with Ignore. In such a scenario all tests within that class should be ignored.

Proposal to include ignore reason was discarded - it's technically possible, but it violates Native/JVM JUnit outputs compatibility. In JVM version ignore reason is never included in the output

@ekrich
Copy link
Member

ekrich commented Oct 21, 2020

Thanks for this fix and looking into #1943

build.sbt Outdated Show resolved Hide resolved
build.sbt Outdated Show resolved Hide resolved
@WojciechMazur WojciechMazur force-pushed the fix/1943-JUnit_ignore_should_work_on_test_class branch from 1f42e97 to 6427ee3 Compare October 22, 2020 13:06
@sjrd sjrd changed the title Fix #1943 - JUnit Ignore should work on test class Fix #1943: Support JUnit's @Ignore on test class Oct 23, 2020
@sjrd sjrd merged commit c375b43 into scala-native:master Oct 23, 2020
1 check passed
vicopem pushed a commit to vicopem/scala-native that referenced this pull request Nov 19, 2020
vicopem added a commit to vicopem/scala-native that referenced this pull request Nov 19, 2020
vicopem added a commit to vicopem/scala-native that referenced this pull request Nov 19, 2020
@WojciechMazur WojciechMazur deleted the fix/1943-JUnit_ignore_should_work_on_test_class branch February 15, 2021 09:07
ekrich pushed a commit to ekrich/scala-native that referenced this pull request May 21, 2021
WojciechMazur added a commit to WojciechMazur/scala-native that referenced this pull request Aug 25, 2021
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.

JUnit does not apply @Ignore on the class
3 participants