| # fx coverage |
| |
| Runs test and exports coverage data. |
| |
| ```none |
| usage: fx coverage [--lcov-output-path <path>] [--html-output-dir <directory>] [--json-output-path <path>] [-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 |
| --json-output-path: path to write output JSON to |
| --test-output-dir: directory to use as test output, skipping running fx test |
| -v|--verbose: print all executed commands for debugging |
| -h|--help: prints help message |
| ``` |
| |
| [coverage source code](https://cs.opensource.google/fuchsia/fuchsia/+/main:tools/devshell/contrib/coverage) |