Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 37 lines (20 sloc) 1.478 kB
9c68483 @roman First basic version of lein generative
authored
1 # lein-generative
2
f54c075 @fogus Filling out the README
fogus authored
3 A [Leiningen](https://github.com/technomancy/leiningen) plugin used to run generative tests defined using the [test.generative](https://github.com/clojure/test.generative) Clojure contrib library.
9c68483 @roman First basic version of lein generative
authored
4
f54c075 @fogus Filling out the README
fogus authored
5 ## Getting
9c68483 @roman First basic version of lein generative
authored
6
f54c075 @fogus Filling out the README
fogus authored
7 *This is currently only proven to work in Leiningen versions earlier than 2.0*
8
6e89629 @xeqi Updates for use in :plugins
xeqi authored
9 Add the following to your Leiningen `project.clj` file in the `:plugins` section:
f54c075 @fogus Filling out the README
fogus authored
10
11 [lein-generative "0.1.4.0"]
12
13 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.
14
15 ## Using
16
17 To run tests defined with test.generative you can simply run:
18
19 $ lein generative
20
ec45602 @xeqi Default to running specs in :test-path
xeqi authored
21 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`:
f54c075 @fogus Filling out the README
fogus authored
22
23 :generative-path "/path/to/your/tests"
24
25 ## Resources
26
27 * [Source code](http://github.com/fogus/lein-generative)
28 * [The Generative Generation](https://github.com/abedra/the-generative-generation) by Aaron Bedra
29 * [Programming Clojure](http://pragprog.com/book/shcloj/programming-clojure) (2nd edition) by Stuart Halloway and Aaron Bedra
30 * [Haskell Quickcheck](http://www.haskell.org/haskellwiki/Introduction_to_QuickCheck) (a library similar in intent to test.generative)
9c68483 @roman First basic version of lein generative
authored
31
32 ## License
33
f54c075 @fogus Filling out the README
fogus authored
34 Copyright (C) 2011-2012 Roman Gonzalez and Fogus
9c68483 @roman First basic version of lein generative
authored
35
36 Distributed under the Eclipse Public License, the same as Clojure.
Something went wrong with that request. Please try again.