(arrow-entry? entry)(body-entries blk row-base)returns all child entries of a fact block, including whitespace
returns all child entries of a fact block, including whitespace
(entry-matches-line? {:keys [line]} target-lines)checks if an entry spans any of the target lines
checks if an entry spans any of the target lines
(example-ranges entries)returns body ranges for individual fact examples
returns body ranges for individual fact examples
(fact-block? blk)checks if a block is a fact form
checks if a block is a fact form
(fact-body-entries entry)returns the operator, optional intro, and body entries for a fact
returns the operator, optional intro, and body entries for a fact
(failing-entries run-data ns)returns failing run entries for a test namespace
returns failing run entries for a test namespace
(failure-function entry)returns the preferred function identifier for a failing entry
returns the preferred function identifier for a failing entry
(failure-functions entries)returns unique failure identifiers in encounter order
returns unique failure identifiers in encounter order
(failure-line entry)normalises a failure line entry into a row number
normalises a failure line entry into a row number
(find-example-end entries expr-idx)(isolate ns {:keys [run suffix write] :as params} lookup project)copies failing facts from a run report into a new test namespace
(code.manage.unit.isolate/isolate 'xt.lang.spec-base-test {:run ".hara/runs/run-1776913569354.edn" :suffix "-fix" :write false} lookup project)
copies failing facts from a run report into a new test namespace
(code.manage.unit.isolate/isolate
'xt.lang.spec-base-test
{:run ".hara/runs/run-1776913569354.edn"
:suffix "-fix"
:write false}
lookup
project)(isolate-fact-string entry target-lines)returns a fact string containing only the selected examples
returns a fact string containing only the selected examples
(isolate-string original target-ns target-lines)returns a test file containing only the selected failing checks
returns a test file containing only the selected failing checks
(isolate-target-ns ns)(isolate-target-ns ns suffix)returns the target namespace for isolated tests
returns the target namespace for isolated tests
(latest-run-file root)returns the most recent .hara/runs/run-*.edn file
returns the most recent `.hara/runs/run-*.edn` file
(next-significant-index entries start)(ns-block? blk)checks if a block is an ns form
checks if a block is an ns form
(parse-run-string s)parses a run report, preserving legacy #error payloads as plain maps
parses a run report, preserving legacy `#error` payloads as plain maps
(rewrite-ns-form blk target-ns)rewrites the namespace symbol for an ns form
rewrites the namespace symbol for an ns form
(sanitize-run-string s)quotes legacy unreadable printed objects so the report can be parsed as EDN
quotes legacy unreadable printed objects so the report can be parsed as EDN
(selected-fact-body entries target-lines intro?)returns a body string for the selected failing examples within a fact
returns a body string for the selected failing examples within a fact
(significant-entry? entry)(top-level-entries s)returns top level blocks with their line ranges
returns top level blocks with their line ranges
(trim-right-void entries)(unwrap-fact-block blk)returns the exact metadata prefix and inner fact block
returns the exact metadata prefix and inner fact block
(unwrap-meta-block blk)returns the inner expression for metadata-wrapped blocks
returns the inner expression for metadata-wrapped blocks
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 |