Liking cljdoc? Tell your friends :D

tegere.cli

A simple command-line interface that may be used by a TeGere-using project. Defines validate-args which can convert prescriptively valid command-line arguments into a :tegere.runner/config config map.

A simple command-line interface that may be used by a TeGere-using project.
Defines validate-args which can convert prescriptively valid command-line
arguments into a ``:tegere.runner/config`` config map.
raw docstring

tegere.fiddle.grammar

Fiddle file for playing around with grammar.clj.

Fiddle file for playing around with grammar.clj.
raw docstring

tegere.fiddle.loader

Fiddle file for playing around with loader.clj.

Fiddle file for playing around with loader.clj.
raw docstring

No vars found in this namespace.

tegere.fiddle.query

No vars found in this namespace.

tegere.grammar

This namespace contains Instaparse CFG (or PEG) grammars (and parsers derived therefrom) that are used by TeGere. The primary grammar is feature-prsr, which describes Gherkin feature files. However, PSGs are also used to parse the tag expressions that may be passed at the command line, hence: tag-expression-cli-prsr and old-style-tag-expr-prsr.

Note that the outputs of these grammars typically require post-processing in order to arrive at specification-compliant Clojure data structures. For that post-processing work, see the tegere.parser ns.

Final note: the grammars here could all be defined in one go as single def statements. The present convention of breaking the grammars up into smaller sub-grammars is in part a vestige of how they were developed, viz., iteratively and via the REPL.

This namespace contains Instaparse CFG (or PEG) grammars (and parsers derived
therefrom) that are used by TeGere. The primary grammar is ``feature-prsr``,
which describes Gherkin feature files. However, PSGs are also used to parse the
tag expressions that may be passed at the command line, hence:
``tag-expression-cli-prsr`` and ``old-style-tag-expr-prsr``.

Note that the outputs of these grammars typically require post-processing in
order to arrive at specification-compliant Clojure data structures. For that
post-processing work, see the ``tegere.parser`` ns.

Final note: the grammars here could all be defined in one go as single ``def``
statements. The present convention of breaking the grammars up into smaller
sub-grammars is in part a vestige of how they were developed, viz., iteratively
and via the REPL.
raw docstring

tegere.loader

Functionality for loading feature files.

Functionality for loading feature files.
raw docstring

tegere.parser

Defines the function parse, which takes a Gherkin feature string and returns a maybe ::feature map. Note that Gherkin Scenario Outlines are converted to seqs of ::scenario maps; that is, the scenario outlines are expanded using their examples tables.

Defines the function `parse`, which takes a Gherkin feature string and returns
a maybe `::feature` map. Note that Gherkin `Scenario Outlines` are converted to
seqs of `::scenario` maps; that is, the scenario outlines are expanded using
their examples tables.
raw docstring

tegere.query

Functionality for querying a :tegere.parser/features collection, including preparing said collection for querying by 'projecting' tags from features and example tables to the scenarios that are the ultimate targets of queries.

Functionality for querying a ``:tegere.parser/features`` collection, including
preparing said collection for querying by 'projecting' tags from features and
example tables to the scenarios that are the ultimate targets of queries.
raw docstring

tegere.steps

Supplies Given, When and Then functions which register the supplied step text with the supplied perform function

Supplies Given, When and Then functions which register the supplied step
text with the supplied perform function
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close