Test Reports
The reports
command is the packaged "build the site" workflow. It is aimed
at local verification and at the reusable GitHub Actions workflow that
publishes a generated reports directory to GitHub Pages.
What the Command Runs
reports
executes the following steps:
docswith the selected workspace targettests --coveragewith the selected workspace coverage targetmetrics --targetwith the selected workspace metrics target and JUnit input from the selected workspace coverage directory
With the default workspace, those steps resolve to docs --target .dev-tools
,
tests --coverage .dev-tools/coverage --coverage-summary
, and
metrics --target .dev-tools/metrics --junit .dev-tools/coverage/junit.xml
.
Outputs
After a successful run you should expect:
- the documentation site rooted at the selected workspace, usually
.dev-tools/; - guide pages generated from the local
docs/source; - coverage reports inside the selected workspace
coveragedirectory; - PhpMetrics output inside the selected workspace
metricsdirectory; .dev-tools/coverage/testdox.htmland.dev-tools/coverage/clover.xmlfor human and CI consumption;.dev-tools/metrics/report.jsonand.dev-tools/metrics/report-summary.jsonfor preview artifacts and machine-readable metrics summaries.
Why This Command Matters
- it is the last stage of
standards; - the reusable
reports.ymlworkflow publishes the generated reports directory to GitHub Pages; - the live documentation, coverage, metrics, and Testdox links all depend on this directory structure staying stable.