Skip to content

coverage command ​

Generate HTML/XML coverage reports from instrumented test runs.

bash
fobis coverage [options]

How to use it, with examples: Testing.

All options ​

OptionValueDefaultDescription
--fobos, -fTEXTSpecify a "fobos" file named differently from "fobos"
--fciAssume fobos inputs as case insensitive
--modeTEXTSelect a mode defined into a fobos file
--formatTEXTOutput formats: html (default), xml, text, all
--output-dirTEXTcoverageDirectory for coverage reports [default: coverage/]
--source-dirTEXT.Root for source filtering [default: .]
--excludeTEXTGlob patterns to exclude from coverage (repeatable)
--fail-underFLOATExit 1 if line coverage is below N%
--toolTEXTForce a specific backend: gcovr or lcov