deno/tests/specs/coverage/default_reports
Yoshiya Hinosawa 83f15ece09
feat(test): create coverage reports when --coverage specified in deno test (#28260)
This PR updates the behavior of `deno test --coverage` option. Now if
`--coverage` option is specified, `deno test` command automatically
shows summary report in the terminal, and generates the lcov report in
`$coverage_dir/lcov.info` and html report in `$coverage_dir/html/`

This change also adds `--coverage-raw-data-only` flag, which prevents
the above reports generated, instead only generates the raw json
coverage data (which is the same as current behavior)
2025-04-18 18:56:14 +09:00
..
__test__.jsonc feat(test): create coverage reports when --coverage specified in deno test (#28260) 2025-04-18 18:56:14 +09:00
cat.ts feat(test): create coverage reports when --coverage specified in deno test (#28260) 2025-04-18 18:56:14 +09:00
html_index_html.out feat(test): create coverage reports when --coverage specified in deno test (#28260) 2025-04-18 18:56:14 +09:00
lcov_info.out feat(test): create coverage reports when --coverage specified in deno test (#28260) 2025-04-18 18:56:14 +09:00
main.out feat(test): create coverage reports when --coverage specified in deno test (#28260) 2025-04-18 18:56:14 +09:00
source.ts feat(test): create coverage reports when --coverage specified in deno test (#28260) 2025-04-18 18:56:14 +09:00
test.ts feat(test): create coverage reports when --coverage specified in deno test (#28260) 2025-04-18 18:56:14 +09:00