/lein-cuke

A leiningen plugin for running cucumber

Primary LanguageClojureEclipse Public License 1.0EPL-1.0

lein-cuke

lein-cuke is a Leiningen plugin that provides Cucumber support via cuke4duke

Installation

Add something like [lein-cuke "0.0.1-SNAPSHOT"] to the :dev-dependencies block in your project.clj, like:

(defproject pickles "0.0.1"
  :description "Vinegar + cucumber + time"
  :repositories [["clojars" "http://clojars.org/repo"]]
  :dev-dependencies [[lein-cuke "0.0.1-SNAPSHOT"]])

Look here for the latest.

Usage

Do this:

$ lein deps # install dependencies in lib/
$ lein cuke-gems # install needed gems
$ # create cucumber hierarchy - todo: add a target for this
$ lein cuke # start red-green-refactoring!

Notes

You can add additional argument to lein cuke-gems. These arguments are inserted on the gem command line between the options and the gem specification.

One usage is to specify the proxy host:

 lein cuke-gems -p http://proxy:3128/