Liking cljdoc? Tell your friends :D
Clojure only.

formatting-stack.processors.test-runner

A test runner meant to be integrated with VCSs. JVM-only, and only clojure.test is targeted.

This test runner gathers Clojure ns's out of filenames, derives even more testing ns's out of them (via naming variations, project-wide :require analysis, and metadata analysis), and invokes #'clojure.test/run-tests out of that result.

A test runner meant to be integrated with VCSs. JVM-only, and only `clojure.test` is targeted.

This test runner gathers Clojure ns's out of filenames, derives _even more_ testing ns's out of them
(via naming variations, project-wide `:require` analysis, and metadata analysis),
and invokes `#'clojure.test/run-tests` out of that result.
raw docstring

newclj

(new)
source

process!clj

(process! _ filenames)
source

test!clj

(test! &
       {:keys [target-branch]
        :or {target-branch (strategies/default-branch-name)}})

Convenience function provided in case it is desired to leverage this ns's functionality, without adding its component into your 'stack'.

It gathers files from:

  • the git diff between the current Git branch and the :target-branch argument; plus
  • any files returned by git status.

Out of those files, namespaces are derived (1:N, using smart heuristics), and those namespaces are run via #'clojure.test/run-tests.

Convenience function provided in case it is desired to leverage this ns's functionality,
without adding its component into your 'stack'.

It gathers files from:
  * the `git diff` between the current Git branch and the `:target-branch` argument; plus
  * any files returned by `git status`.

Out of those files, namespaces are derived (1:N, using smart heuristics),
and those namespaces are run via `#'clojure.test/run-tests`.
sourceraw docstring

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

× close