Interface ReportEntry

All Known Subinterfaces:
TestSetReportEntry
All Known Implementing Classes:
CategorizedReportEntry, SimpleReportEntry

public interface ReportEntry
Describes a single entry for a test report
  • Method Details

    • getSourceName

      String getSourceName()
      The class name of the test
      Returns:
      A string with the class name
    • getName

      String getName()
      The name of the test case
      Returns:
      A string describing the test case
    • getGroup

      String getGroup()
      The group/category of the testcase
      Returns:
      A string
    • getStackTraceWriter

      StackTraceWriter getStackTraceWriter()
      The group/category of the testcase
      Returns:
      A string
    • getElapsed

      Integer getElapsed()
      Gets the runtime for the item. Optional parameter. If the value is not set, it will be determined within the reporting subsystem. Some providers like to calculate this value themselves, and it gets the most accurate value.
      Returns:
      duration of a test in milli seconds
    • getMessage

      String getMessage()
      A message relating to a non-successful termination. May be the "message" from an exception or the reason for a test being ignored
      Returns:
      A string that explains an anomaly
    • getNameWithGroup

      String getNameWithGroup()
      A name of the test case together with the group or category (if any exists).
      Returns:
      A string with the test case name and group/category, or just the name.