Class Test


  • public class Test
    extends Object
    This class is the test object in the report generating tool setup. It is responsible for capturing the attributes of a test and then generate HTML markup accordingly.
    • Method Detail

      • passed

        public boolean passed()
        Returns true if the testcase succeeded.
        Returns:
        true if the testcase succeeded.
      • getPassedTestCases

        public List<TestCase> getPassedTestCases()
        Returns a list of passed testcases.
        Returns:
        list of passed testcases.
      • getSkippedTestCases

        public List<TestCase> getSkippedTestCases()
        Returns a list of skipped testcases.
        Returns:
        list of skipped testcases.
      • getFailedTestCases

        public List<TestCase> getFailedTestCases()
        Returns a list of failed testcases.
        Returns:
        list of failed testcases.
      • toHTML

        public String toHTML()
        Returns HTML markup for this object.
        Returns:
        HTML markup for this object.