get test-results
get test-results - Get test execution results from test manifests
Get test execution results from test manifests in structured format.
This command reads test.manifest.json files from out/test/ and provides comprehensive test execution data including results, timing, coverage, and security control mappings. The output can be formatted as YAML, JSON, or TOML.
Output includes: - Test results with status (passed/failed/skipped) - Suite assignment and timing data - Specification coverage for godog tests - Control tag summaries
Flags
| Flag | Description |
|---|---|
--as-yaml |
Output as YAML (default format) |
--as-json |
Output as JSON |
--as-toml |
Output as TOML |
Examples
get test-results
get test-results ext-eac
get test-results ext-eac r2r-cli
get test-results ext-eac --as-json
Output Structure
Returns structured data including:
modules_tested- Number of modules with test resultslast_run- Timestamp of most recent test runtotal_tests- Total test counttotal_passed- Total passed counttotal_failed- Total failed counttests[]- Individual test results with status, tags, durationspec_coverage[]- Godog specification coveragecontrol_summary[]- Aggregated control coveragemodule_stats[]- Per-module statisticssummary_by_type[]- Aggregations by test typesummary_by_suite[]- Aggregations by suite
Tags Processing
Tags are returned without the @ prefix:
["L1", "ov", "control:ai-2"]instead of["@L1", "@ov", "@control:ai-2"]
Prerequisites
Test manifests must exist from previous test runs:
# Run tests first to generate manifests
r2r eac test <module>
# Then get results
r2r eac get test-results
See Also
- show test-results - Human-readable display
- get tests - Test definitions
- test - Run tests
Tutorials | How-to Guides | Explanation | Reference
You are here: Reference — information-oriented technical descriptions of the system.