Uploaded image for project: 'Clover'
  1. Clover
  2. CLOV-121

Support TestNG and JUnit 4 expected exceptions

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • 2.1.0
    • None
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: