Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A simple leiningen plugin for running clojure-based cucumber-jvm specifications.
Clojure
tag: 0.2.0

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
src/leiningen
.gitignore
README.md
UNLICENSE
project.clj

README.md

lein-cucumber

This is a very simple leiningen plugin for use with cucumber-jvm.

Usage

  1. Add [lein-cucumber "0.2.0"] to :dev-dependencies in your project.clj
  2. Run lein deps to fetch all dependencies.
  3. Run all Cucumber features with lein cucumber

Please note

In the current version, you cannot specify any configuration options. The following settings are hard-coded into the plugin:

  • A progress report will be printed to the console.
  • The complete report (formatted with PrettyFormatter) will be written to test-reports/cucumber.out. Consider adding :extra-files-to-clean ["test-reports"] to your project.clj.
  • Leiningen will exit with the exit status of the cucumber-jvm runtime.
  • Put your .feature files into features/ (feature-paths can be configured in project.clj using the :cucumber-feature-path parameter, e.g :cucumber-feature-path ["test/features/"].)
  • Put your step definitions into features/step_definitions/

See https://github.com/cucumber/cucumber-jvm/tree/master/clojure/src/test/resources/cucumber/runtime/clojure for an example specification.

Unlicense

Written by Nils Wloka, 2012. For licensing information, see UNLICENSE. Please have a look at http://unlicense.org if you plan to contribute.

Something went wrong with that request. Please try again.