Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7900039

TestNG Expected exception stack traces in reports are misleading

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • None
    • tools
    • None

      For TestNG tests that expect exceptions, TestNG does not report the stack trace in the log file.
      When reading the Jtreg log files the stacktrace output can at first glance appear to be a failure.
      Since the exception is expected, the complete stack trace is not needed.
      Perhaps the exception message would be useful but should be identified as the expected/success value.

            rriggs Roger Riggs
            rriggs Roger Riggs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: