1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
|
Usage: spec [OPTION]...
OPTIONS
--help display this help and exit
--ignore-dot-hspec do not read options from ~/.hspec and .hspec
-m PATTERN --match=PATTERN only run examples that match given PATTERN
--skip=PATTERN skip examples that match given PATTERN
RUNNER OPTIONS
--[no-]dry-run pretend that everything passed; don't verify
anything
--[no-]focused-only do not run anything, unless there are focused
spec items
--[no-]fail-on=ITEMS empty: fail if all spec items have been filtered
focused: fail on focused spec items
pending: fail on pending spec items
empty-description: fail on empty descriptions
--[no-]strict same as --fail-on=focused,pending
--[no-]fail-fast abort on first failure
--[no-]randomize randomize execution order
-r --rerun rerun all examples that failed in the previous
test run (only works in combination with
--failure-report or in GHCi)
--failure-report=FILE read/write a failure report for use with --rerun
--rerun-all-on-success run the whole test suite after a previously
failing rerun succeeds for the first time (only
works in combination with --rerun)
-j N --jobs=N run at most N parallelizable tests
simultaneously (default: number of available
processors)
--seed=N used seed for --randomize and QuickCheck
properties
FORMATTER OPTIONS
-f NAME --format=NAME use a custom formatter; this can be one of
checks, specdoc, progress, failed-examples or
silent
--[no-]color colorize the output
--[no-]unicode output unicode
--[no-]diff show colorized diffs
--diff-context=N output N lines of diff context (default: 3)
use a value of 'full' to see the full context
--diff-command=CMD use an external diff command
example: --diff-command="git diff"
--[no-]pretty try to pretty-print diff values
--show-exceptions use `show` when formatting exceptions
--display-exceptions use `displayException` when formatting
exceptions
--[no-]times report times for individual spec items
--print-cpu-time include used CPU time in summary
-p[N] --print-slow-items[=N] print the N slowest spec items (default: 10)
--[no-]expert be less verbose
OPTIONS FOR QUICKCHECK
-a N --qc-max-success=N maximum number of successful tests before a
QuickCheck property succeeds
--qc-max-discard=N maximum number of discarded tests per successful
test before giving up
--qc-max-size=N size to use for the biggest test cases
--qc-max-shrinks=N maximum number of shrinks to perform before giving
up (a value of 0 turns shrinking off)
OPTIONS FOR SMALLCHECK
--depth=N maximum depth of generated test values for SmallCheck properties
|