Find source files, run any tests with rct, and report with clojure.test.
Find source files, run any tests with rct, and report with clojure.test.
(file-ending-with? extension-set)
Build a predicate matching files that end with any of the strings in the given set of extensions.
Build a predicate matching files that end with any of the strings in the given set of extensions.
(ns->files dirs file-pred)
Take a series of dirs
(e.g. ["src"]
) and return a map of
namespace symbol to series of source file paths.
Typically, there is a single source file per namespace, but the relationship is potentially 1 : many.
Take a series of `dirs` (e.g. `["src"]`) and return a map of namespace symbol to series of source file paths. Typically, there is a single source file per namespace, but the relationship is potentially 1 : many.
(run-tests-in-file-tree! &
{:keys [dirs file-pred]
:or {file-pred (file-ending-with? #{".cljc"
".clj"})}})
Find all files in the set of dirs
matching file-pred
and execute any
RCT tests.
Find all files in the set of `dirs` matching `file-pred` and execute any RCT tests.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close