-
Notifications
You must be signed in to change notification settings - Fork 58
Command line options
slagyr edited this page Jan 6, 2011
·
4 revisions
Below is the a listing of all the command line options available for speclj. This listing can easily be found by executing speclj.main
with the --help
option:
$ java -cp lib/clojure-1.2.0.jar:speclj-1.2.0.jar:src speclj.main --help
or
$ lein spec --help
Output:
Usage: java -cp [...] speclj.main [options] [specs*]
specs directories specifying which specs to run.
-r, --runner=<RUNNER> Use a custom Runner.
Builtin runners:
standard : (default) Runs all the specs once
vigilant : Watches for file changes and re-runs affected
specs (used by autotest)
-f, --reporter=<REPORTER> Specifies how to report spec results. Ouput will be written to *out*.
Builtin reporters:
silent : No output
progress : (default) Text-based progress bar
specdoc : Code example doc strings
-f, --format=<FORMAT> An alias for reporter.
-b, --stacktrace Output full stacktrace
-c, --color Show colored (red/green) output.
-a, --autotest Alias to use the 'vigilant' runner and 'specdoc' reporter.
-v, --version Shows the current speclj version.
-h, --help You're looking at it.