Class FailureStackTestListener

java.lang.Object
org.citrusframework.report.AbstractTestListener
org.citrusframework.report.FailureStackTestListener
All Implemented Interfaces:
org.citrusframework.report.TestListener

public class FailureStackTestListener extends AbstractTestListener
  • Constructor Details

    • FailureStackTestListener

      public FailureStackTestListener()
  • Method Details

    • onTestFailure

      public void onTestFailure(org.citrusframework.TestCase test, Throwable cause)
      Specified by:
      onTestFailure in interface org.citrusframework.report.TestListener
      Overrides:
      onTestFailure in class AbstractTestListener
    • getFailureStack

      public static List<org.citrusframework.report.FailureStackElement> getFailureStack(org.citrusframework.TestCase test)
      Get failure stack from given test.
      Parameters:
      test -
      Returns: