Class JUnitTestException

    • Constructor Detail

      • JUnitTestException

        public JUnitTestException​(org.junit.runner.Result result,
                                  String xmlReport)
        Construct junit runtime exception based on result.
        Parameters:
        result - junit result object
        xmlReport - junit xml report
    • Method Detail

      • getResult

        public org.junit.runner.Result getResult()
        Get JUnit result object.
        Returns:
        JUnit result object
      • getXmlReport

        public String getXmlReport()
        Get xml report.
        Returns:
        xml report
      • toString

        public String toString()
        Return a string representation of this object.
        Overrides:
        toString in class Throwable
        Returns:
        a string representation of this object.