Support TestNG and JUnit 4 expected exceptions

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Fixed
    • 2.1.0
    • Component/s: None
    • None

      Support detection of:

      @org.junit.Test(expected=MyException.class)
      @org.testng.annotations.Test(expectedExceptions=

      {MyException.class,MyOtherException.class})
      @org.testng.annotations.Test @org.testng.annotation.ExpectedExceptions({MyException.class,MyOtherException.class}

      )

      Ensure instrumented test methods that capture test results do not flag these exceptions as test faiiures/errors. Also ensure these test methods flag the absence of the exceptions as test failures.

              Assignee:
              Michael Studman (Inactive)
              Reporter:
              Michael Studman (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: