If you have a JUnit 4.x test annotated as "to be ignored":
@Ignore
@Test
public void myTest()
{
// test code here
}
When you run all the tests in a package, the test runs. In our case this is causing the IDEA JUnit runner to report false failures on tests that we want ignored for the time being (since the code to pass the test has not yet been implemented).
If you run just the tests for the class, the test is ignored. However, it is not reported as an ignored test. For details, see JIRA IDEA-16130 that I just opened.
Description
If you have a JUnit 4.x test annotated as "to be ignored":
@Ignore
@Test
public void myTest()
{
// test code here
}
When you run all the tests in a package, the test runs. In our case this is causing the IDEA JUnit runner to report false failures on tests that we want ignored for the time being (since the code to pass the test has not yet been implemented).
If you run just the tests for the class, the test is ignored. However, it is not reported as an ignored test. For details, see JIRA IDEA-16130 that I just opened.