FormS2StringContext

org.specs2.specification.create.FormS2StringContext

Allow to use forms inside interpolated strings starting with s2 in order to build the specification content

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Show all
Known subtypes
trait Forms
object Forms
Self type

Members list

Type members

Inherited classlikes

Attributes

Inherited from:
S2StringContext
Supertypes
class Conversion[Fragments, Interpolated]
class Object
trait Matchable
class Any

Attributes

Inherited from:
S2StringContext
Supertypes
class Conversion[SpecStructure, Interpolated]
class Object
trait Matchable
class Any

Attributes

Inherited from:
S2StringContext
Supertypes
class Conversion[SpecificationRef, Interpolated]
class Object
trait Matchable
class Any

Attributes

Inherited from:
S2StringContext
Supertypes
class Object
trait Matchable
class Any

Value members

Inherited methods

Attributes

Inherited from:
FragmentsFactory

this function is exposed so that it can be overridden with side-effects when using s2 strings in mutable specs

this function is exposed so that it can be overridden with side-effects when using s2 strings in mutable specs

Attributes

Inherited from:
S2StringContextCreation

Givens

Givens

given given_Conversion_T_Interpolated[T](using evidence$1: HasForm[T]): given_Conversion_T_Interpolated[T]

Inherited givens

The FragmentFactory has to be passed as an implicit in order to be inlined in macros

The FragmentFactory has to be passed as an implicit in order to be inlined in macros

Attributes

Inherited from:
S2StringContextCreation

Extensions

Inherited extensions

extension (sc: StringContext)(using factory: FragmentFactory)
inline def s2(inline variables: Interpolated*): Fragments

String interpolation for specs2 fragments

String interpolation for specs2 fragments

Attributes

Inherited from:
S2StringContextCreation

Implicits

Implicits

implicit def formIsInterpolated(f: => Form): Interpolated

Inherited implicits

implicit inline def asExecutionIsInterpolated[R](inline r: => R)(using evidence$1: AsExecution[R], inline factory: FragmentFactory): Interpolated

create an example based on an execution

create an example based on an execution

Attributes

Inherited from:
S2StringContext
implicit inline def asResultIsInterpolated[R](inline r: => R)(using evidence$1: AsResult[R]): Interpolated

Attributes

Inherited from:
S2StringContext1 (hidden)
implicit inline def fragmentIsInterpolated(inline f: => Fragment): Interpolated

Attributes

Inherited from:
S2StringContext1 (hidden)
implicit inline def stepParserIsInterpolatedFragment[R](f: StepParser[R])(using evidence$1: AsResult[R]): Interpolated

Attributes

Inherited from:
S2StringContext1 (hidden)
implicit def stringIsInterpolated(s: => String): Interpolated

Attributes

Inherited from:
S2StringContext
implicit inline def stringResultIsInterpolated[R](inline f: String => R)(using evidence$1: AsResult[R]): Interpolated

Attributes

Inherited from:
S2StringContext1 (hidden)