Documentation Index
Fetch the complete documentation index at: https://docs.roboticks.io/llms.txt
Use this file to discover all available pages before exploring further.
Code coverage
Roboticks ingests code coverage (gcov/lcov for C++,coverage.py for Python) alongside JUnit XML and displays it in the test-run detail UI. Coverage is one of the headline numbers on every Check Run, but it answers a different question than requirement coverage.
What we ingest
| Source | Format | Tool |
|---|---|---|
| Python | coverage.py XML (coverage.xml) | pip install coverage or pytest-cov |
| C++ | lcov info (coverage.info) | gcov + lcov --capture |
| Generic | Cobertura XML | Any tool that emits Cobertura |
coverage.xml, coverage.info, or cobertura.xml in the workspace after tests complete and uploads them.
Python coverage
Addpytest-cov to your dev dependencies:
--cov:
coverage.xml and ships it. Locally, the same file works for any coverage UI.
C++ coverage (colcon)
Coverage in a colcon workspace is a two-step dance: build with coverage flags, then capture aftercolcon test.
In CI
GitHub Actions step that produces both pytest and gtest coverage:Where coverage surfaces
| Surface | What you see |
|---|---|
| Check Run | ”Coverage 78.4% (+1.2%)” on the PR head |
| Run detail | Per-file gutter highlighting (covered / partially / uncovered) |
| Matrix UI | Coverage column per source file, joinable to requirement coverage |
| Evidence pack | Coverage summary table per release, with file-level breakdown in the ZIP |
Coverage gates
Configure a coverage floor inroboticks.yaml:
Coverage is not enough
A 95% line coverage number with 40% requirement coverage means “we run a lot of code, but we have not proven the requirements”. An auditor will accept the latter and ignore the former. Use coverage to find dead code; use requirement coverage to ship.Next
Requirement coverage
The dimension that pays the audit bill.
CI recipes
Wire coverage capture into GitHub Actions, Jenkins, CircleCI, BuildKite.
Check Runs
The PR-side surface for both coverage numbers.
Matrix UI
How coverage joins requirements visually.