Skip to content

Commit 73e58b2

Browse files
instructions for interactive and CI use
1 parent 04de1ef commit 73e58b2

1 file changed

Lines changed: 27 additions & 1 deletion

File tree

README.md

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,23 @@ and a validator:
3939
To generate test data, see the fns in the generators namespace. Note
4040
that these functions shadow a bunch of clojure.core names.
4141

42-
You can configure the runner with Java system properties:
42+
Running Interactively During Development
43+
========================================
44+
45+
Specify the number of threads, the number of msec, and one or more
46+
vars to test:
47+
48+
(runner/run 2 1000 #'my/test-var)
49+
50+
51+
Running in a CI environment
52+
========================================
53+
54+
Wire your runner to call runner/-main with a list of directories where
55+
tests can be found. You can see bin/test.clj for an example.
56+
57+
You can use the following system properties to control the intensity
58+
of your test
4359

4460
<table>
4561
<tr>
@@ -64,6 +80,16 @@ Developer Information
6480

6581
* [Compatibility Test Matrix](http://build.clojure.org/job/test.generative-test-matrix/)
6682

83+
Related Projects
84+
========================================
85+
86+
* [ClojureCheck](https://bitbucket.org/kotarak/clojurecheck) adds
87+
property based testing to clojure.test following the lines of
88+
[QuickCheck](http://en.wikipedia.org/wiki/QuickCheck) for Haskell.
89+
90+
* [simple-check](https://github.com/reiddraper/simple-check) is a
91+
Clojure property-based testing tool inspired by QuickCheck.
92+
6793
Copyright and License
6894
========================================
6995

0 commit comments

Comments
 (0)