Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-379

When an exception occurs in @BeforeMethod, the exception is not recorded.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 2.4
    • TestNG support
    • None

    Description

      Run "mvn test" in the attached project. You'll get 1 skipped test. But why? There's no record of the failure exception in the XML test output or in the txt file or on the console. The diagnostic information is lost.

      Attachments

        1. testng-beforeMethodFailure.zip
          6 kB
          Daniel Fabulich

        Activity

          People

            Unassigned Unassigned
            dfabulich Daniel Fabulich
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: