Liking cljdoc? Tell your friends :D

mb.hawk.core


find-and-run-tests-cliclj

(find-and-run-tests-cli options)

clojure -X entrypoint. Find and run tests with options.

`clojure -X` entrypoint. Find and run tests with `options`.
sourceraw docstring

find-and-run-tests-replclj

(find-and-run-tests-repl options)

REPL entrypoint. Find and run tests with options.

REPL entrypoint. Find and run tests with options.
sourceraw docstring

find-testscljmultimethod

(find-tests arg options)

Find test vars in arg, which can be a string directory name, symbol naming a specific namespace or test, or a collection of one or more of the above.

Find test vars in `arg`, which can be a string directory name, symbol naming a specific namespace or test, or a
collection of one or more of the above.
sourceraw docstring

find-tests-with-optionsclj

(find-tests-with-options {:keys [only] :as options})

Find tests using the options map as passed to clojure -X.

Find tests using the options map as passed to `clojure -X`.
sourceraw docstring

run-testclj

(run-test test-var)

Run a single test test-var. Wraps/replaces [[clojure.test/test-var]].

Run a single test `test-var`. Wraps/replaces [[clojure.test/test-var]].
sourceraw docstring

run-testsclj

(run-tests test-vars)
(run-tests test-vars options)

Run test-vars with options, which are passed directly to [[eftest.runner/run-tests]].

To run tests from the REPL, use this function.

;; run tests in a single namespace (run (find-tests 'metabase.bad-test nil))

;; run tests in a directory (run (find-tests "test/hawk/query_processor_test" nil))

Run `test-vars` with `options`, which are passed directly to [[eftest.runner/run-tests]].

To run tests from the REPL, use this function.

  ;; run tests in a single namespace
  (run (find-tests 'metabase.bad-test nil))

  ;; run tests in a directory
  (run (find-tests "test/hawk/query_processor_test" nil))
sourceraw docstring

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

× close