Trait

io.cucumber.scala

ScalaDsl

Related Doc: package scala

Permalink

trait ScalaDsl extends BaseScalaDsl with StepDsl with HookDsl with DataTableTypeDsl with DocStringTypeDsl with ParameterTypeDsl with DefaultTransformerDsl

Base trait for a scala step definition implementation.

Linear Supertypes
DefaultTransformerDsl, ParameterTypeDsl, DocStringTypeDsl, DataTableTypeDsl, HookDsl, StepDsl, BaseScalaDsl, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScalaDsl
  2. DefaultTransformerDsl
  3. ParameterTypeDsl
  4. DocStringTypeDsl
  5. DataTableTypeDsl
  6. HookDsl
  7. StepDsl
  8. BaseScalaDsl
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final class DataTableTypeBody extends AnyRef

    Permalink
    Definition Classes
    DataTableTypeDsl
  2. final class Fun0 extends AnyRef

    Permalink
    Definition Classes
    StepDsl
  3. final class HookBody extends AnyRef

    Permalink
    Definition Classes
    HookDsl
  4. final class ParameterTypeBody extends AnyRef

    Permalink
    Definition Classes
    ParameterTypeDsl
  5. final class Step extends AnyRef

    Permalink
    Definition Classes
    StepDsl
  6. final class StepBody extends AnyRef

    Permalink
    Definition Classes
    StepDsl

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def After(tagExpression: String, order: Int): HookBody

    Permalink

    Defines and after hook.

    Defines and after hook.

    tagExpression

    a tag expression, if the expression applies to the current scenario this hook will be executed

    order

    the order in which this hook should run. Higher numbers are run first

    Definition Classes
    HookDsl
  5. def After(order: Int): HookBody

    Permalink

    Defines and after hook.

    Defines and after hook.

    order

    the order in which this hook should run. Higher numbers are run first

    Definition Classes
    HookDsl
  6. def After(tagExpression: String): HookBody

    Permalink

    Defines and after hook.

    Defines and after hook.

    tagExpression

    a tag expression, if the expression applies to the current scenario this hook will be executed

    Definition Classes
    HookDsl
  7. def After: HookBody

    Permalink

    Defines and after hook.

    Defines and after hook.

    Definition Classes
    HookDsl
  8. def AfterStep(tagExpression: String, order: Int): HookBody

    Permalink

    Defines and after step hook.

    Defines and after step hook.

    tagExpression

    a tag expression, if the expression applies to the current scenario this hook will be executed

    order

    the order in which this hook should run. Higher numbers are run first

    Definition Classes
    HookDsl
  9. def AfterStep(order: Int): HookBody

    Permalink

    Defines and after step hook.

    Defines and after step hook.

    order

    the order in which this hook should run. Higher numbers are run first

    Definition Classes
    HookDsl
  10. def AfterStep(tagExpression: String): HookBody

    Permalink

    Defines and after step hook.

    Defines and after step hook.

    tagExpression

    a tag expression, if the expression applies to the current scenario this hook will be executed

    Definition Classes
    HookDsl
  11. def AfterStep: HookBody

    Permalink

    Defines and after step hook.

    Defines and after step hook.

    Definition Classes
    HookDsl
  12. def Before(tagExpression: String, order: Int): HookBody

    Permalink

    Defines an before hook.

    Defines an before hook.

    tagExpression

    a tag expression, if the expression applies to the current scenario this hook will be executed

    order

    the order in which this hook should run. Higher numbers are run first

    Definition Classes
    HookDsl
  13. def Before(order: Int): HookBody

    Permalink

    Defines an before hook.

    Defines an before hook.

    order

    the order in which this hook should run. Higher numbers are run first

    Definition Classes
    HookDsl
  14. def Before(tagExpression: String): HookBody

    Permalink

    Defines an before hook.

    Defines an before hook.

    tagExpression

    a tag expression, if the expression applies to the current scenario this hook will be executed

    Definition Classes
    HookDsl
  15. def Before: HookBody

    Permalink

    Defines an before hook.

    Defines an before hook.

    Definition Classes
    HookDsl
  16. def BeforeStep(tagExpression: String, order: Int): HookBody

    Permalink

    Defines an before step hook.

    Defines an before step hook.

    tagExpression

    a tag expression, if the expression applies to the current scenario this hook will be executed

    order

    the order in which this hook should run. Higher numbers are run first

    Definition Classes
    HookDsl
  17. def BeforeStep(order: Int): HookBody

    Permalink

    Defines an before step hook.

    Defines an before step hook.

    order

    the order in which this hook should run. Higher numbers are run first

    Definition Classes
    HookDsl
  18. def BeforeStep(tagExpression: String): HookBody

    Permalink

    Defines an before step hook.

    Defines an before step hook.

    tagExpression

    a tag expression, if the expression applies to the current scenario this hook will be executed

    Definition Classes
    HookDsl
  19. def BeforeStep: HookBody

    Permalink

    Defines an before step hook.

    Defines an before step hook.

    Definition Classes
    HookDsl
  20. val DEFAULT_AFTER_ORDER: Int

    Permalink
    Definition Classes
    BaseScalaDsl
  21. val DEFAULT_BEFORE_ORDER: Int

    Permalink
    Definition Classes
    BaseScalaDsl
  22. def DataTableType(replaceWithEmptyString: String): DataTableTypeBody

    Permalink

    Register a data table type with a replacement.

    Register a data table type with a replacement.

    A data table can only represent absent and non-empty strings. By replacing a known value (for example [empty]) a data table can also represent empty strings.

    replaceWithEmptyString

    a string that will be replaced with an empty string.

    Definition Classes
    DataTableTypeDsl
  23. def DataTableType: DataTableTypeBody

    Permalink

    Register a data table type.

    Register a data table type.

    Definition Classes
    DataTableTypeDsl
  24. def DefaultDataTableCellTransformer(replaceWithEmptyString: String)(body: DefaultDataTableCellTransformerBody): Unit

    Permalink

    Register default data table cell transformer with a replacement.

    Register default data table cell transformer with a replacement.

    A data table can only represent absent and non-empty strings. By replacing a known value (for example [empty]) a data table can also represent empty strings. *

    replaceWithEmptyString

    a string that will be replaced with an empty string.

    body

    converts String argument to an instance of the Type argument

    Definition Classes
    DefaultTransformerDsl
  25. def DefaultDataTableCellTransformer(body: DefaultDataTableCellTransformerBody): Unit

    Permalink

    Register default data table cell transformer.

    Register default data table cell transformer.

    body

    converts String argument to an instance of the Type argument

    Definition Classes
    DefaultTransformerDsl
  26. def DefaultDataTableEntryTransformer(replaceWithEmptyString: String)(body: DefaultDataTableEntryTransformerBody): Unit

    Permalink

    Register default data table cell transformer with a replacement.

    Register default data table cell transformer with a replacement.

    A data table can only represent absent and non-empty strings. By replacing a known value (for example [empty]) a data table can also represent empty strings.

    replaceWithEmptyString

    a string that will be replaced with an empty string.

    body

    converts Map[String,String] argument to an instance of the Type argument

    Definition Classes
    DefaultTransformerDsl
  27. def DefaultDataTableEntryTransformer(body: DefaultDataTableEntryTransformerBody): Unit

    Permalink

    Register default data table entry transformer.

    Register default data table entry transformer.

    body

    converts Map[String,String] argument to an instance of the Type argument

    Definition Classes
    DefaultTransformerDsl
  28. def DefaultParameterTransformer(body: DefaultParameterTransformerBody): Unit

    Permalink

    Register default parameter type transformer.

    Register default parameter type transformer.

    body

    converts String argument to an instance of the Type argument

    Definition Classes
    DefaultTransformerDsl
  29. def DocStringType[T](contentType: String)(body: DocStringDefinitionBody[T])(implicit ev: ClassTag[T]): Unit

    Permalink

    Register doc string type.

    Register doc string type.

    T

    type to convert to

    contentType

    Name of the content type.

    body

    a function that creates an instance of T from the doc string

    Definition Classes
    DocStringTypeDsl
  30. val EMPTY_TAG_EXPRESSION: String

    Permalink
    Definition Classes
    BaseScalaDsl
  31. object Fun0

    Permalink
    Definition Classes
    StepDsl
  32. val NO_REPLACEMENT: Seq[String]

    Permalink
    Definition Classes
    BaseScalaDsl
  33. def ParameterType(name: String, regex: String): ParameterTypeBody

    Permalink

    Register parameter type.

    Register parameter type.

    name

    used as the type name in typed expressions

    regex

    expression to match

    Definition Classes
    ParameterTypeDsl
    See also

    https://cucumber.io/docs/cucumber/cucumber-expressions

  34. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  35. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  36. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  37. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  38. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  39. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  40. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  41. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  42. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  43. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  44. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  45. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  46. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from DefaultTransformerDsl

Inherited from ParameterTypeDsl

Inherited from DocStringTypeDsl

Inherited from DataTableTypeDsl

Inherited from HookDsl

Inherited from StepDsl

Inherited from BaseScalaDsl

Inherited from AnyRef

Inherited from Any

Ungrouped