This is a leiningen plugin for use with cucumber-jvm.
[lein-cucumber "1.0.2"]
to :plugins
in your project.cljlein deps
to fetch all dependencies.lein cucumber
lein-cucumber requires Leiningen 2.
Feature paths are resolved in the following order:
lein cucumber my-features
) override all other settings.:cucumber-feature-paths
parameter in your project.clj will be used (e.g. :cucumber-feature-paths ["test/features/"]
).features/
directory.Glue paths are resolved similarily:
lein cucumber --glue somewhere/my_stepdefs
) override all other settings.step_definitions/
directories inside your feature directories.The following settings are hard-coded into the plugin:
CucumberPrettyFormatter
) will be written to test-reports/cucumber.out
inside your project's target directory (usually target/
).See https://github.com/nilswloka/cucumber-jvm/tree/new-clojure-example/examples/clojure_cukes for an example project.
If you like lein-cucumber, consider endorsing me at coderwall:
Written by Nils Wloka, 2012. For licensing information, see UNLICENSE.
Contributions by Robert P. Levy, Michael van Acken, Jeroen van Dijk, Ben Poweski and shaolang. Please have a look at http://unlicense.org if you plan to contribute.