Skip to content

List evidence

Evidence records of an element with version, item, date, result, evidence location and baselines that contain the version.

Command evidence.list. Reads the workspace and changes no file.

Field Type Required Description
ref elementRef yes UUID, short ID or identifier (e.g. SR-036), any case; several matches give ref.ambiguous.
view view no core: only the records without a variant; a variant: only the records for that variant (SR-047 AK1, AK2); absent: every record of the element.
Field Type Required Description
records array of evidenceRecord yes The evidence records of the element (SR-028, SR-093), newest first, each with its version, item, date, result and evidence (SR-032 AK1) and the baselines that contain its version (baselines, SR-032 AK2; empty when none does).
testCases array of testCase yes The test cases that name the element (SR-033), by class name, then name, each with the element’s own records only, newest first, and every kind of record as in records; with view only the executions that hold in it, and a test case all of whose executions hold in another view is left out (a test case that was only skipped stays, executed false).
problems array of problem yes Findings in the baseline files (baseline.invalid, file.invalid-yaml, …): a baseline file that cannot be read names no baseline in baselines.
incomplete incomplete yes True when an evidence location or the baselines folder lies in a repository that is not on this machine: records or baselines there are not seen (SR-006 AK2).

In the command prompt (Ctrl+Shift+P, macOS ⌘⇧P): the command List evidence.

reqseq evidence list, with --json for the output as JSON. Its help:

Usage: reqseq evidence list <ref> [options]
Evidence records of an element with version, item, date, result, evidence
location and baselines that contain the version.
Options:
--ref <value> instead of the argument <ref>
--view <value> `core`: only the records without a variant; a variant:
only the records for that variant (SR-047 AK1, AK2);
absent: every record of the element.
--input <json|@file|-> command input as JSON: inline, from a file, or from
standard input
--workspace <path> workspace root (default: nearest folder upwards with
reqseq-workspace.yaml)
--json print exactly the command output as JSON
--yaml print the whole command output as YAML, problems one
per line
-h, --help show help

POST /v1/commands/evidence.list on the local API (reqseq serve api), with the input as the JSON body; the answer is the output.

Tool evidence_list of the MCP server (reqseq mcp), with the input as its arguments.