Liking cljdoc? Tell your friends :D

new-ways.clj-cukes


Andcljmacro

(And pattern args-vec & fn-body)

Macro version of defstep with reduced syntax for convenience.

Macro version of defstep with reduced syntax for convenience.
raw docstring

Butcljmacro

(But pattern args-vec & fn-body)

Macro version of defstep with reduced syntax for convenience.

Macro version of defstep with reduced syntax for convenience.
raw docstring

defstepclj

(defstep pattern step-fn)

Add a step definition to the registry

Add a step definition to the registry
raw docstring

execute-gherkincljmultimethod


find-stepclj

(find-step state step)

Givencljmacro

(Given pattern args-vec & fn-body)

Macro version of defstep with reduced syntax for convenience.

Macro version of defstep with reduced syntax for convenience.
raw docstring

join-gherkinclj

(join-gherkin zipper new-form)

Adds the new form into the zipper at the end and at the appropriate depth

Adds the new form into the zipper at the end and at the appropriate depth
raw docstring

keyword-reclj


parse-data-tableclj

(parse-data-table lines)

Takes a sequence of strings each representing 1 line of a data table. The columns of the table should be surrounded by the pipe character. The first row of the table is the header, and for each of the remaining rows a map will be returned with values matched to the keys in the header

Takes a sequence of strings each representing 1 line of a data table.
The columns of the table should be surrounded by the pipe character.
The first row of the table is the header, and for each of the remaining
rows a map will be returned with values matched to the keys in the header
raw docstring

parse-gherkinclj

(parse-gherkin input)

run-gherkinclj

(run-gherkin initial-state input)

Runs the input gherkin text, starting with initial-state, which can be nil.

Runs the input gherkin text, starting with initial-state, which can be nil.
raw docstring

run-gherkin-fileclj

(run-gherkin-file path)
(run-gherkin-file initial-state path)

run-gherkin-filesclj

(run-gherkin-files directory)

splice-backgroundclj

(splice-background [[bg-verb bg-desc & bg-body] & scenarios :as feature-body])

Given a feature body, checks whether it starts with a background and if so splices it into each scenario. Otherwise, returns its argument unmodified.

Given a feature body, checks whether it starts with a background and if so
splices it into each scenario. Otherwise, returns its argument unmodified.
raw docstring

split-gherkin-lineclj

(split-gherkin-line line)

table-reclj


test-stepclj

(test-step state [step-type step])

Find the matching step and execute it, passing the state as the first arg

Find the matching step and execute it, passing the state as the first arg
raw docstring

Thencljmacro

(Then pattern args-vec & fn-body)

Macro version of defstep with reduced syntax for convenience.

Macro version of defstep with reduced syntax for convenience.
raw docstring

Whencljmacro

(When pattern args-vec & fn-body)

Macro version of defstep with reduced syntax for convenience.

Macro version of defstep with reduced syntax for convenience.
raw docstring

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

× close