Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
37 lines (20 sloc) 1.44 KB


A Leiningen plugin used to run generative tests defined using the test.generative Clojure contrib library.


This is currently only proven to work in Leiningen versions earlier than 2.0

Add the following to your Leiningen project.clj file in the :plugins section:

[lein-generative ""]

The version number of lein-generative will track the latest released version of test.generative. The end of the version number will be the specific sub-version of this plugin.


To run tests defined with test.generative you can simply run:

$ lein generative

This will, by default run all tests in the project's test directory. If you prefer to use a seperate directory you can add something like the following to your project.clj:

:generative-path "/path/to/your/tests"



Copyright (C) 2011-2012 Roman Gonzalez and Fogus

Distributed under the Eclipse Public License, the same as Clojure.

Something went wrong with that request. Please try again.