Cucumber backend for jukebox.
Cucumber backend for jukebox.
(->definitions)
Return an atom that will be used to track step definitions as they are loaded.
Return an atom that will be used to track step definitions as they are loaded.
(read-cuke-str string)
Using the clojure reader is often a good way to interpret literal values in feature files. This function makes some cucumber-specific adjustments to basic reader behavior. This is particularly appropriate when reading a table, for example: reading | "1" | 1 | we should interpret 1 as an int and "1" as a string.
Using the clojure reader is often a good way to interpret literal values in feature files. This function makes some cucumber-specific adjustments to basic reader behavior. This is particularly appropriate when reading a table, for example: reading | "1" | 1 | we should interpret 1 as an int and "1" as a string.
(table->rows data)
Reads a cucumber table of the form | key-1 | key-2 | ... | key-n | | val-1 | val-2 | ... | val-n | For example, given: | id | name | created-at | | 55 | "foo" | 1293884100000 | | 56 | "bar" | 1293884100000 | It evaluates to the clojure literal: [{:id 55, :name "foo", :created-at 1293884100000} {:id 56, :name "bar", :created-at 1293884100000}]
Reads a cucumber table of the form | key-1 | key-2 | ... | key-n | | val-1 | val-2 | ... | val-n | For example, given: | id | name | created-at | | 55 | "foo" | 1293884100000 | | 56 | "bar" | 1293884100000 | It evaluates to the clojure literal: [{:id 55, :name "foo", :created-at 1293884100000} {:id 56, :name "bar", :created-at 1293884100000}]
(update-world f)
Checks whether the world
object appears to have been dropped, and
prints an error if so.
Checks whether the `world` object appears to have been dropped, and prints an error if so.
Used to track and provide state between steps.
Used to track and provide state between steps.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close