| # fx coverage | |
| Runs test and exports coverage data. | |
| ```none | |
| usage: fx coverage [--lcov-output-path <path>] [--html-output-dir <directory>] [-h|--help] [testName ...] | |
| Runs test and exports coverage data. | |
| --html-output-dir: directory to output test coverage HTML to | |
| --lcov-output-path: path to write output lcov to | |
| -h|--help: prints help message | |
| ``` | |
| [coverage source code](https://cs.opensource.google/fuchsia/fuchsia/+/main:tools/devshell/contrib/coverage) |