Liking cljdoc? Tell your friends :D

cljs-test-runner.main

Discover and run ClojureScript tests in node (by default).

Discover and run ClojureScript tests in node (by default).
raw docstring

-mainclj

(-main & args)

Creates a ClojureScript test runner and executes it with node (by default).

Creates a ClojureScript test runner and executes it with node (by default).
raw docstring

accumulateclj

(accumulate m k v)

Used in CLI options to accumulate multiple occurrences of a flag.

Used in CLI options to accumulate multiple occurrences of a flag.
raw docstring

cli-optionsclj

Options for use with clojure.tools.cli.

Options for use with clojure.tools.cli.
raw docstring

error-msgclj

(error-msg errors)

Render an error message.

Render an error message.
raw docstring

exitclj

(exit status)
(exit status msg)

Exit the program cleanly.

Exit the program cleanly.
raw docstring

find-namespaces-in-dirsclj

(find-namespaces-in-dirs dirs)

Given a set of directory paths, find every ClojureScript namespace within those directories and return it as one sequence.

Given a set of directory paths, find every ClojureScript namespace within those directories and return it as one sequence.
raw docstring

format-filterclj

(format-filter coll)

Format filter values as a possible set or nil.

Format filter values as a possible set or nil.
raw docstring

format-valueclj

(format-value s)

Return a string with a quote at the front. For use in this silly CLJS meta programming.

Return a string with a quote at the front. For use in this silly CLJS meta programming.
raw docstring

load-optsclj

(load-opts path)

Read EDN from the given path if not nil, otherwise returns an empty map.

Read EDN from the given path if not nil, otherwise returns an empty map.
raw docstring

ns-filter-cljsclj

Namespace filtering code from cognitect-labs/test-runner but modified and as a string. Inserted into the test runner ClojureScript code when it's rendered. Forgive me performing string based meta programming.

Namespace filtering code from cognitect-labs/test-runner but modified and as a string. Inserted into the test runner ClojureScript code when it's rendered. Forgive me performing string based meta programming.
raw docstring

ns-filter-fnclj

(ns-filter-fn {:keys [ns-symbols ns-regexs]})

Given possible namespace symbols and regexs, return a function that returns true if it's given namespace matches one of the rules.

Given possible namespace symbols and regexs, return a function that returns true if it's given namespace matches one of the rules.
raw docstring

parse-kwclj

(parse-kw s)

Parse a keyword from a string, dropping the initial : if required.

Parse a keyword from a string, dropping the initial : if required.
raw docstring

render-test-runner-cljsclj

(render-test-runner-cljs nses {:keys [var include exclude]})

Renders a ClojureScript test runner from a seq of namespaces.

Renders a ClojureScript test runner from a seq of namespaces.
raw docstring

test-cljs-namespaces-in-dirclj

(test-cljs-namespaces-in-dir {:keys [env dir out watch ns-symbols ns-regexs var
                                     include exclude verbose compile-opts
                                     doo-opts]})

Execute all ClojureScript tests in a directory.

Execute all ClojureScript tests in a directory.
raw docstring

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

× close