https://bz.apache.org/bugzilla/show_bug.cgi?id=62627
Bug ID: 62627
Summary: junit - Tests that cause AssumptionViolatedException
classified as aborted
Product: Ant
Version: 1.10.3
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Optional Tasks
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
A test with the following:
@Before
public void skip() {
Assume.assumeTrue("This test is not run", false);
}
Will throw an org.junit.AssumptionViolatedException and the
org.apache.tools.ant.taskdefs.optional.junitlauncher.LegacyXmlResultFormatter
will log this as an aborted test instead of ignoring the exception and being
shown as a pass.
--
You are receiving this mail because:
You are the assignee for the bug.