Interface SpecNode

All Known Subinterfaces:
SubjectSpecNode, TaggableSpecNode
All Known Implementing Classes:
AfterNode, BeforeNode, DescribeNode, EffectNode, FileNode, ItNode, SubjectEffectNode, SubjectNode, SubjectTransformNode, SuiteNode

public interface SpecNode
  • Method Details

    • getType

      SpecNodeType getType()
    • getSource

      Value getSource()
    • run

      void run(SpecContext context)
    • getDurationMillis

      long getDurationMillis()
    • fail

      void fail(String errorMessage, Throwable cause)
    • didRun

      boolean didRun()
    • isSuccess

      boolean isSuccess()
    • getErrorMessage

      String getErrorMessage()
    • getCause

      Throwable getCause()