java.lang.Object
com.aventstack.extentreports.model.Test
All Implemented Interfaces:
BaseEntity, MetaDataStorable, RunResult, Serializable

public final class Test extends Object implements RunResult, Serializable, BaseEntity, MetaDataStorable
See Also:
  • Constructor Details

    • Test

      public Test()
  • Method Details

    • addChild

      public void addChild(Test child)
    • addLog

      public void addLog(Log log)
    • addGeneratedLog

      public void addGeneratedLog(Log log)
    • isBDD

      public boolean isBDD()
    • hasLog

      public boolean hasLog()
    • hasAnyLog

      public boolean hasAnyLog()
    • hasChildren

      public boolean hasChildren()
    • hasAttributes

      public boolean hasAttributes()
    • hasAuthor

      public boolean hasAuthor()
    • hasCategory

      public boolean hasCategory()
    • hasDevice

      public boolean hasDevice()
    • hasException

      public boolean hasException()
    • getFullName

      public String getFullName()
    • addMedia

      public void addMedia(Media m)
    • hasScreenCapture

      public boolean hasScreenCapture()
    • timeTaken

      public long timeTaken()
    • timeTakenPretty

      public String timeTakenPretty()
      Time taken formatted as HH:mm:ss:SSS Solution provided by @grasshopper7 https://github.com/extent-framework/extentreports-java/issues/247#issuecomment-679918613
      Returns:
      A formatted time taken string as HH:mm:ss:SSS
    • aggregateExceptions

      public List<ExceptionInfo> aggregateExceptions()
    • getAncestor

      public Test getAncestor()
    • updateResult

      public void updateResult()