package cucumber

  1. Overview
  2. Docs

Module Cucumber.TagSource

Module implementing Cucumber Tags.

Tags are a great way to organise your features and scenarios.

They can be used for two purposes:

  • Running a subset of scenarios
  • Restricting hooks to a subset of scenarios
Sourcetype t
Sourceval string_of_tag : t -> string

Create a string from a Tag.

Sourceval compare : t -> t -> bool

Compare two tags for equality.

Sourceval list_of_string : string -> t list * t list

Given a list of tags as a string, return a tuple representing the allowed and disallowed tags.

These are set by the command line argument --tags and primarily used to filter pickles during runtime.