Class TestCase


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

      • TestCase

        public TestCase​(Node node)
        Creates an instance of TestCase
    • Method Detail

      • passed

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

        public boolean failed()
        Returns true if the testcase failed.
        Returns:
        true if the testcase failed.
      • skipped

        public boolean skipped()
        Returns true if the testcase is skipped.
        Returns:
        true if the testcase is skipped.
      • toHTML

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