Interface TestFailure

All Superinterfaces:
Failure
All Known Subinterfaces:
FileComparisonTestAssertionFailure, TestAssertionFailure, TestFrameworkFailure

@Incubating public interface TestFailure extends Failure
Describes a test failure, that can either be a test assertion failure or a test framework failure.
Since:
7.6
  • Method Details

    • getClassName

      String getClassName()
      The fully-qualified name of the underlying exception type.
      Returns:
      The exception class name
    • getStacktrace

      String getStacktrace()
      The stringified version of the stacktrace created from the underlying exception.
      Returns:
      the stacktrace