Liking cljdoc? Tell your friends :D

cloverage.coverage


*covered*clj

source

*exit-after-test*clj

source

*instrumented-ns*clj

source

-mainclj

(-main & args)

Produce test coverage report for some namespaces

Produce test coverage report for some namespaces
sourceraw docstring

capturecljmacro

(capture idx form)

Eval the given form and record that the given line on the given files was run.

Eval the given form and record that the given line on the given
files was run.
sourceraw docstring

coverclj

(cover idx)

Mark the given file and line in as having been covered.

Mark the given file and line in as having been covered.
sourceraw docstring

coveredclj

(covered)
source

find-nsesclj

(find-nses ns-paths regex-patterns)

Given ns-paths and regex-patterns returns:

  • empty sequence when ns-paths is empty and regex-patterns is empty
  • all namespaces on all ns-paths (if regex-patterns is empty)
  • all namespaces on the classpath that match any of the regex-patterns (if ns-paths is empty)
  • namespaces on ns-paths that match any of the regex-patterns
Given ns-paths and regex-patterns returns:
* empty sequence when ns-paths is empty and regex-patterns is empty
* all namespaces on all ns-paths (if regex-patterns is empty)
* all namespaces on the classpath that match any of the regex-patterns (if ns-paths is empty)
* namespaces on ns-paths that match any of the regex-patterns
sourceraw docstring

form-for-suppressing-unselected-testsclj

(form-for-suppressing-unselected-tests namespaces selectors test-func)
source

instrument-namespacesclj

(instrument-namespaces {:keys [exclude-call nop?]} ordered-nses)
source

launch-custom-reportclj

(launch-custom-report report-sym arg-map)
source

load-namespacesclj

(load-namespaces {:keys [extra-test-ns ns-regex test-ns-regex ns-exclude-regex
                         src-ns-path test-ns-path]}
                 add-nses)
source

mark-loadedclj

(mark-loaded namespace)
source

parse-formclj

(parse-form form line-hint)
source

remove-nsesclj

(remove-nses namespaces regex-patterns)
source

report-resultsclj

(report-results {:keys [text? html? raw? emma-xml? lcov? codecov? coveralls?
                        summary? colorize? low-watermark high-watermark
                        custom-report output]
                 :as opts}
                project-opts
                forms)
source

run-mainclj

(run-main [{:keys [debug? junit? fail-threshold help? runner test-selectors
                   selector]
            :as opts} add-nses help]
          project-opts)
source

run-projectclj

(run-project project-opts & args)
source

run-testsclj

(run-tests {:keys [runner test-selectors selector junit?] :as opts} test-nses)
source

runner-fncljmultimethod

source

track-coverageclj

(track-coverage line-hint form)
source

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

× close