Liking cljdoc? Tell your friends :D

scry.cli.results

Result-file naming, filesystem lifecycle, and EDN sanitization for the CLI.

Result-file naming, filesystem lifecycle, and EDN sanitization for the CLI.
raw docstring

concrete-var-backed-entry?clj

(concrete-var-backed-entry? entry)

True when a canonical entry is attributable to a concrete test var.

True when a canonical entry is attributable to a concrete test var.
raw docstring

concrete-var-symbol?clj

(concrete-var-symbol? x)

True when x is a concrete namespace-qualified var symbol.

True when x is a concrete namespace-qualified var symbol.
raw docstring

edn-readable-dataclj

(edn-readable-data value)

Recursively coerce data into values readable by clojure.edn/read-string.

EDN scalar leaves pass through. Throwables retain class/message/stacktrace, common collection types recurse, arrays/iterables become vectors, and other objects become maps with class and pr-str detail.

Recursively coerce data into values readable by clojure.edn/read-string.

EDN scalar leaves pass through. Throwables retain class/message/stacktrace,
common collection types recurse, arrays/iterables become vectors, and other
objects become maps with class and pr-str detail.
raw docstring

encode-file-segmentclj

(encode-file-segment segment)

Encode a namespace or var-name segment for a deterministic result filename.

Encode a namespace or var-name segment for a deterministic result filename.
raw docstring

failure-entry?clj

(failure-entry? entry)

True when a canonical result entry should be written to a result file.

True when a canonical result entry should be written to a result file.
raw docstring

prepare-results-dir!clj

(prepare-results-dir! io-boundary)

Clear and recreate the CLI results directory for a run.

Clear and recreate the CLI results directory for a run.
raw docstring

result-file-assignmentsclj

(result-file-assignments entries)

Return failing/erroring entries with deterministic result-file names.

Var-backed filenames keep the existing namespace-prefixed shape. Synthetic entries use per-status suite-level names with deterministic collision suffixes for file paths when needed.

Return failing/erroring entries with deterministic result-file names.

Var-backed filenames keep the existing namespace-prefixed shape. Synthetic
entries use per-status suite-level names with deterministic collision suffixes
for file paths when needed.
raw docstring

result-file-nameclj

(result-file-name entry)

Return the namespace-prefixed result EDN filename for a var-backed entry.

Return the namespace-prefixed result EDN filename for a var-backed entry.
raw docstring

results-dirclj

(results-dir {:keys [cwd]})

Return the .scry-results directory for an IO boundary map containing :cwd.

Return the .scry-results directory for an IO boundary map containing :cwd.
raw docstring

synthetic-display-labelclj

(synthetic-display-label entry token)

Return a human progress label for a synthetic canonical entry.

Return a human progress label for a synthetic canonical entry.
raw docstring

synthetic-tokenclj

(synthetic-token status ordinal)

Return a synthetic suite-level display token for status and ordinal.

Return a synthetic suite-level display token for status and ordinal.
raw docstring

write-result-files!clj

(write-result-files! dir entries)

Write readable EDN result files for failing/erroring canonical entries.

Returns a vector of written file paths.

Write readable EDN result files for failing/erroring canonical entries.

Returns a vector of written file paths.
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close