Discover and run ClojureScript tests in node (by default).
Discover and run ClojureScript tests in node (by default).
(-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).
(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.
(add-loader-url url)
Add url string or URL to the highest level DynamicClassLoader url set.
Add url string or URL to the highest level DynamicClassLoader url set.
Options for use with clojure.tools.cli.
Options for use with clojure.tools.cli.
(exit status)
(exit status msg)
Exit the program cleanly.
Exit the program cleanly.
(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.
(format-filter coll)
Format filter values as a possible set or nil.
Format filter values as a possible set or nil.
(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.
(load-opts path-or-data)
Load compiler options from input. Supports either an inline EDN map or assumed to be a file path. If input is nil, returns empty map
Load compiler options from input. Supports either an inline EDN map or assumed to be a file path. If input is nil, returns empty map
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.
(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.
(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.
(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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close