ScalaHookDefinition

io.cucumber.scala.ScalaHookDefinition
See theScalaHookDefinition companion object
trait ScalaHookDefinition extends HookDefinition, AbstractGlueDefinition

Attributes

Companion
object
Graph
Supertypes
trait HookDefinition
trait Located
class Object
trait Matchable
class Any
Show all
Known subtypes

Members list

Value members

Concrete methods

override def execute(state: TestCaseState): Unit

Attributes

Definition Classes
HookDefinition
override def getOrder: Int

Attributes

Definition Classes
HookDefinition
override def getTagExpression: String

Attributes

Definition Classes
HookDefinition

Inherited methods

protected def executeAsCucumber(block: => Unit): Unit

Executes the block of code and handle failures in the way asked by Cucumber specification: that is throwing a CucumberInvocationTargetException.

Executes the block of code and handle failures in the way asked by Cucumber specification: that is throwing a CucumberInvocationTargetException.

Attributes

Inherited from:
AbstractGlueDefinition
def getHookType(): Optional[HookType]

Attributes

Inherited from:
HookDefinition
override def getLocation(): String

Attributes

Definition Classes
Inherited from:
AbstractGlueDefinition
override def getSourceReference(): Optional[SourceReference]

Attributes

Definition Classes
Inherited from:
AbstractGlueDefinition
override def isDefinedAt(stackTraceElement: StackTraceElement): Boolean

Attributes

Definition Classes
Inherited from:
AbstractGlueDefinition

Abstract fields

Concrete fields

override val location: StackTraceElement

Inherited fields

lazy val sourceReference: SourceReference

Attributes

Inherited from:
AbstractGlueDefinition