Class TestFailedException

    • Constructor Detail

      • TestFailedException

        public TestFailedException​(TestResults testResults,
                                   String scenarioIdOrName,
                                   String appIdOrName)
      • TestFailedException

        public TestFailedException​(TestResults testResults,
                                   String message)
      • TestFailedException

        public TestFailedException​(String message)
        Creates a new TestFailedException instance.
        Parameters:
        message - A description string.
      • TestFailedException

        public TestFailedException​(String message,
                                   Throwable cause)
        Creates an EyesException instance. testResults default to null.
        Parameters:
        message - A description of the error.
        cause - The cause for this exception.
    • Method Detail

      • getTestResults

        public TestResults getTestResults()
        Returns:
        The failed test results, or null if the test has not yet ended (e.g., when thrown due to FailureReports.IMMEDIATE settings).