Schnittstelle TestFailure

Alle Superschnittstellen:
Failure
Alle bekannten Unterschnittstellen:
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.
Seit:
7.6
  • Methodendetails

    • getClassName

      String getClassName()
      The fully-qualified name of the underlying exception type.
      Gibt zurück:
      The exception class name
    • getStacktrace

      String getStacktrace()
      The stringified version of the stacktrace created from the underlying exception.
      Gibt zurück:
      the stacktrace