deno/tests/specs/coverage
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
..
coverage_raw_data_only feat(test): create coverage reports when --coverage specified in deno test (#28260) 2025-04-18 18:56:14 +09:00
default_reports feat(test): create coverage reports when --coverage specified in deno test (#28260) 2025-04-18 18:56:14 +09:00
filter_doc_testing_urls feat(test): create coverage reports when --coverage specified in deno test (#28260) 2025-04-18 18:56:14 +09:00
invalid_url fix(coverage): exclude scripts with invalid URLs from raw coverage output (#28210) 2025-02-20 23:23:43 +01:00
missing_ignore_start_comment_warning feat(coverage): add coverage ignore comments (#26590) 2025-04-15 17:56:55 +00:00
nested_ignore_comment_warning feat(coverage): add coverage ignore comments (#26590) 2025-04-15 17:56:55 +00:00
no_files_after_filter feat(test): create coverage reports when --coverage specified in deno test (#28260) 2025-04-18 18:56:14 +09:00
no_files_found chore: move more tests away from itest (#22909) 2024-03-15 15:46:51 -04:00
set_coverage_in_env_var feat(test): support DENO_COVERAGE_DIR env var (#28291) 2025-04-16 12:47:28 -04:00
unterminated_ignore_comment_warning feat(coverage): add coverage ignore comments (#26590) 2025-04-15 17:56:55 +00:00