case class Fragment(description: Description, execution: Execution, location: Location = StacktraceLocation()) extends Product with Serializable

Fragment of a specification

It has a description (generally text but sometimes not, for a step for example) It has an execution which might do or don't do anything (for examples it runs some code)

Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Fragment
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Fragment(description: Description, execution: Execution, location: Location = StacktraceLocation())

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. val description: Description
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def executedResult: Action[ExecutedResult]

    returns

    the result of this fragment and its execution time

  9. val execution: Execution
  10. def executionResult: Action[Result]

    returns

    the result of this fragment

  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. def isExecutable: Boolean

    returns

    true if this fragment can be executed

  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def isolate: Fragment
  15. def join: Fragment

    various methods to stop the execution of the next fragment

  16. val location: Location
  17. def makeGlobal(when: Boolean): Fragment
  18. def mustStopOn(r: Result): Boolean

    returns

    stop the execution of the next fragment based on a condition

  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. def productElementNames: Iterator[String]
    Definition Classes
    Product
  23. def setExecution(e: Execution): Fragment

    set a different execution

  24. def setLocation(location: Location): Fragment
  25. def setPreviousResult(r: Option[Result]): Fragment

    set the previous execution result when known

  26. def setTimeout(timeout: FiniteDuration): Fragment
  27. def skip: Fragment

    skip this fragment

  28. def startExecution(env: Env): Fragment

    start the execution of this fragment

  29. def startExecutionAfter(others: List[Fragment])(env: Env): Fragment

    start the execution of this fragment when the other ones has finished executing

  30. def startExecutionAfter(other: Option[Fragment])(env: Env): Fragment

    start the execution of this fragment when the other one has finished executing

  31. def startExecutionAfter(other: Fragment)(env: Env): Fragment

    start the execution of this fragment when the other one has finished executing

  32. def stopOn(r: Result): Fragment

    various methods to stop the execution of the next fragment

  33. def stopOnError: Fragment
  34. def stopOnFail: Fragment
  35. def stopOnSkipped: Fragment
  36. def stopWhen(f: (Result) => Boolean): Fragment
  37. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  38. def toString(): String
    Definition Classes
    Fragment → AnyRef → Any
  39. def updateDescription(f: (Description) => Description): Fragment

    update the description

  40. def updateExecution(f: (Execution) => Execution): Fragment
  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  43. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  44. def was(statusCheck: (String) => Boolean): Boolean

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped