Skip to content

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 results
  • last_run - Timestamp of most recent test run
  • total_tests - Total test count
  • total_passed - Total passed count
  • total_failed - Total failed count
  • tests[] - Individual test results with status, tags, duration
  • spec_coverage[] - Godog specification coverage
  • control_summary[] - Aggregated control coverage
  • module_stats[] - Per-module statistics
  • summary_by_type[] - Aggregations by test type
  • summary_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


Tutorials | How-to Guides | Explanation | Reference

You are here: Reference — information-oriented technical descriptions of the system.