https://bz.apache.org/bugzilla/show_bug.cgi?id=63479

            Bug ID: 63479
           Summary: junitlauncher - does not detect failure in @BeforeAll
           Product: Ant
           Version: 1.10.6
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
          Assignee: notifications@ant.apache.org
          Reporter: pva...@opentext.com
  Target Milestone: ---

If an exception is thrown in a @Test (or if a @Test fails), junitlauncher
correctly recognizes the failure and acts on failureProperty/haltOnFailure as
expected.
However, if an exception is failure occurs in a method with @BeforeAll instead
of @Test, the failureProperty/haltOnFailure aren't triggered. Still, the
failure is detected and logged by the legacy-plain and legacy-xml listeners.

This suggests the problem is with Ant and not Junit.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to