deno/cli/tools
Casper Beyer ae8874b4b2
feat: add "deno coverage" subcommand (#8664)
This commit adds a new subcommand called "coverage" 
which can generate code coverage reports to stdout in 
multiple formats from code coverage profiles collected to disk.

Currently this supports outputting a pretty printed diff and 
the lcov format for interoperability with third-party services and tools.

Code coverage is still collected via other subcommands 
that run and collect code coverage such as 
"deno test --coverage=<directory>" but that command no 
longer prints a pretty printed report at the end of a test 
run with coverage collection enabled.

The restrictions on which files that can be reported on has 
also been relaxed and are fully controllable with the include 
and exclude regular expression flags on the coverage subcommand.

Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
2021-02-24 15:27:51 +01:00
..
coverage.rs feat: add "deno coverage" subcommand (#8664) 2021-02-24 15:27:51 +01:00
fmt.rs fix: lint and fmt error if no target files are found (#9527) 2021-02-19 07:18:16 -05:00
installer.rs fix(installer): pass cached-only to executable_args (#9169) 2021-01-19 13:46:08 +01:00
lint.rs fix: lint and fmt error if no target files are found (#9527) 2021-02-19 07:18:16 -05:00
mod.rs chore: update copyright to 2021 (#9092) 2021-01-11 18:13:41 +01:00
repl.rs fix(repl): filter out symbol candidates (#9555) 2021-02-21 16:58:31 +01:00
standalone.rs fix(compile): fix panic when cross-compiling between windows and unix (#9203) 2021-01-24 02:40:13 +09:00
test_runner.rs chore: remove std directory (#9361) 2021-02-02 12:05:46 +01:00
upgrade.rs fix(compile): fix panic when cross-compiling between windows and unix (#9203) 2021-01-24 02:40:13 +09:00