lein-cuke is a Leiningen plugin that provides Cucumber support via cuke4duke
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.
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!
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/