code.test.base.executive
accumulate
added in 3.0
(accumulate func id)accumulates test results from various facts and files into a single data structure
announce-artifacts
added in 4.1
(announce-artifacts artifacts)prints save notices for written artifacts
artifact-notices
added in 4.1
(artifact-notices {:keys [report-path run-path history-path]})returns any save notices for written artifacts
eval-namespace
added in 3.0
(eval-namespace ns {:keys [run-id], :as params} lookup project)evaluates the code within a specified namespace
history-file-path
added in 4.1
(history-file-path {:keys [run-path]} params)returns the output path for saved run history
load-namespace
added in 3.0
(load-namespace ns _ lookup project)loads a given namespace for testing
report->run-path
added in 4.1
(report->run-path report-path)returns the repl helper path for a saved test report
report-edn-safe?
added in 4.1
(report-edn-safe? x)checks if a value can be written as EDN without coercion
report-failed-facts
added in 4.1
(report-failed-facts report)groups failed/throw/timeout/errored report entries by namespace, returning a map of namespace -> set of refer symbols
report-file-path
added in 4.1
(report-file-path)returns the output path for a saved test report
run-current
added in 4.0
(run-current ns params lookup project)runs the current namespace (which can be a non test namespace)
run-file-form
added in 4.1
(run-file-form selector params)creates the repl helper form for rerunning tests
run-file-params
added in 4.1
(run-file-params params)removes internal/default params from the saved repl run helper
run-file-path
added in 4.1
(run-file-path report-path params)returns the output path for a saved repl run helper
run-namespace
added in 3.0
(run-namespace ns params lookup project)loads and run the namespace
save-report
added in 3.0
(save-report items)(save-report items selector params)saves the report to .hara/runs
save-report-paths
added in 4.1
(save-report-paths items selector params)writes report artifacts and returns the written paths
save-run-history
added in 4.1
(save-run-history items selector params artifacts)appends the saved run metadata to csv history
summarise-bulk
added in 3.0
(summarise-bulk _ items _)creates a summary of all bulk results
test-namespace
added in 3.0
(test-namespace ns {:keys [run-id test], :as params} lookup project)runs a loaded namespace
unload-namespace
added in 3.0
(unload-namespace ns _ lookup project)unloads a given namespace for testing