coverage command
Generate HTML/XML coverage reports from instrumented test runs.
bash
fobis coverage [options]How to use it, with examples: Testing.
All options
| Option | Value | Default | Description |
|---|---|---|---|
--fobos, -f | TEXT | Specify a "fobos" file named differently from "fobos" | |
--fci | Assume fobos inputs as case insensitive | ||
--mode | TEXT | Select a mode defined into a fobos file | |
--format | TEXT | Output formats: html (default), xml, text, all | |
--output-dir | TEXT | coverage | Directory for coverage reports [default: coverage/] |
--source-dir | TEXT | . | Root for source filtering [default: .] |
--exclude | TEXT | Glob patterns to exclude from coverage (repeatable) | |
--fail-under | FLOAT | Exit 1 if line coverage is below N% | |
--tool | TEXT | Force a specific backend: gcovr or lcov |