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 builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |