Liking cljdoc? Tell your friends :D
Clojure only.

eftest.runner

Functions to run tests written with clojure.test or compatible libraries.

Functions to run tests written with clojure.test or compatible libraries.
raw docstring

find-testscljmultimethod

(find-tests source)

Find test vars specified by a source. The source may be a var, symbol namespace or directory path, or a collection of any of the previous types.

Find test vars specified by a source. The source may be a var, symbol
namespace or directory path, or a collection of any of the previous types.
sourceraw docstring

run-testsclj

(run-tests vars)
(run-tests vars opts)

Run the supplied test vars. Accepts the following options:

:fail-fast? - if true, stop after first failure or error :capture-output? - if true, catch test output and print it only if the test fails (defaults to true) :multithread? - one of: true, false, :namespaces or :vars (defaults to true). If set to true, namespaces and vars are run in parallel; if false, they are run in serial. If set to :namespaces, namespaces are run in parallel but the vars in those namespaces are run serially. If set to :vars, the namespaces are run serially, but the vars inside run in parallel. :thread-count - the number of threads used to run the tests in parallel (as per :multithread?). If not specified, the number reported by java.lang.Runtime.availableProcessors (which is not always accurate) plus two will be used. :report - the test reporting function to use (defaults to eftest.report.progress/report) :test-warn-time - print a warning for any test that exceeds this time (measured in milliseconds)

Run the supplied test vars. Accepts the following options:

:fail-fast?      - if true, stop after first failure or error
:capture-output? - if true, catch test output and print it only if
                   the test fails (defaults to true)
:multithread?    - one of: true, false, :namespaces or :vars (defaults to
                   true). If set to true, namespaces and vars are run in
                   parallel; if false, they are run in serial. If set to
                   :namespaces, namespaces are run in parallel but the vars
                   in those namespaces are run serially. If set to :vars,
                   the namespaces are run serially, but the vars inside run
                   in parallel.
:thread-count    - the number of threads used to run the tests in parallel
                   (as per :multithread?). If not specified, the number
                   reported by java.lang.Runtime.availableProcessors (which
                   is not always accurate) *plus two* will be used.
:report          - the test reporting function to use
                   (defaults to eftest.report.progress/report)
:test-warn-time  - print a warning for any test that exceeds this time
                   (measured in milliseconds)
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close