org.specs2.specification

script

package script

Visibility
  1. Public
  2. All

Type Members

  1. case class BulletedExamplesTemplate()(implicit params: GroupTemplateParameters = ...) extends ScriptTemplate[GroupsScript, FragmentsScriptLines] with Product with Serializable

  2. case class BulletedExamplesTemplateParameters() extends GroupTemplateParameters with Product with Serializable

  3. abstract class DelimitedStepParser[T] extends StepParser[T]

    A Delimited step parser uses a delimiter ({} by default) to know which string to extract from the text

  4. class DelimitedStepParser1[T] extends DelimitedStepParser[T]

  5. class DelimitedStepParser10[T] extends DelimitedStepParser[T]

  6. class DelimitedStepParser2[T] extends DelimitedStepParser[T]

  7. class DelimitedStepParser3[T] extends DelimitedStepParser[T]

  8. class DelimitedStepParser4[T] extends DelimitedStepParser[T]

  9. class DelimitedStepParser5[T] extends DelimitedStepParser[T]

  10. class DelimitedStepParser6[T] extends DelimitedStepParser[T]

  11. class DelimitedStepParser7[T] extends DelimitedStepParser[T]

  12. class DelimitedStepParser8[T] extends DelimitedStepParser[T]

  13. class DelimitedStepParser9[T] extends DelimitedStepParser[T]

  14. class DelimitedStepParserSeq[T] extends DelimitedStepParser[T]

  15. case class FragmentsScriptLines(blocks: Seq[Fragments]) extends ScriptLines with Product with Serializable

  16. trait GroupTemplateParameters extends AnyRef

  17. case class GroupsScript(title: String = "groups", isStart: Boolean = true, groups: GroupsLike)(implicit template: ScriptTemplate[GroupsScript, FragmentsScriptLines], exampleFactory: ExampleFactory) extends Script with Product with Serializable

    This script associates lines extracted by a template to example bodies defined by a GroupsLike trait.

  18. trait Script extends AnyRef

    A Script is responsible for analysing a piece of text an creating a sequence of fragments.

  19. trait ScriptLines extends AnyRef

    set of lines returned by a ScriptTemplate

  20. trait ScriptTemplate[T <: Script, L <: ScriptLines] extends AnyRef

    A ScriptTemplate parses some text to create ScriptLines that the associated script knows how to translate to Fragments.

  21. trait Scripts extends Tags

    The Scripts trait builds fragments based on Script objects.

  22. abstract class Specification extends SpecificationLike

    This Specification trait is using a Script (GroupScript) and a default template BulletedExamplesTemplate to associate extracted examples text (where there are + signs) to example bodies coming from a Group.

  23. trait SpecificationLike extends specs2.SpecificationLike with Scripts with GroupsLike

    Trait for the script.

  24. trait StandardDelimitedStepParsers extends StepParsers

    a few delimited parsers (with {}) to extract ints, doubles and strings

  25. trait StandardRegexStepParsers extends StepParsers

    a few regular expression parsers to extract ints, doubles and strings (strings are delimited with ")

  26. trait StepParser[T] extends AnyRef

    A StepParser is a function to extract a value of type T from a piece of text It can also strip the text from delimiters if any

  27. trait StepParsers extends ImplicitParameters

    StepParsers are using delimiters or regular expressions with groups to extract values from a piece of text and possibly strip it from delimiters if necessary

Ungrouped