1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-15 10:35:19 -05:00
denoland-deno/cli
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
..
bench refactor(core): Allow multiple overflown responses in single poll (#9433) 2021-02-23 13:08:50 +01:00
dts feat: add exit sanitizer to Deno.test (#9529) 2021-02-24 13:55:50 +01:00
lsp fix(lsp): handle data URLs properly (#9522) 2021-02-18 15:37:05 +11:00
ops feat(unstable): per op metrics (#9240) 2021-02-21 19:20:31 +01:00
tests feat: add "deno coverage" subcommand (#8664) 2021-02-24 15:27:51 +01:00
tools feat: add "deno coverage" subcommand (#8664) 2021-02-24 15:27:51 +01:00
tsc feat(lsp): Implement textDocument/signatureHelp (#9330) 2021-02-16 13:34:09 +11:00
ast.rs refactor: use Mutex for ErrorBuffer (#9539) 2021-02-18 15:20:52 -05:00
auth_tokens.rs Make ModuleSpecifier a type alias, not wrapper struct (#9531) 2021-02-17 13:47:18 -05:00
build.rs refactor(core): Strongly typed deserialization of JSON ops (#9423) 2021-02-13 11:56:56 -05:00
Cargo.toml chore: upgrade internal dprint plugins (#9566) 2021-02-22 00:17:31 +01:00
checksum.rs chore: update copyright to 2021 (#9092) 2021-01-11 18:13:41 +01:00
colors.rs chore: update copyright to 2021 (#9092) 2021-01-11 18:13:41 +01:00
deno.ico fix(cli): add icon and metadata to deno.exe on Windows (#6693) 2020-07-15 21:54:38 +02:00
deno_dir.rs chore: update copyright to 2021 (#9092) 2021-01-11 18:13:41 +01:00
diagnostics.rs feat: stabilize Deno.shutdown() and Conn#closeWrite() 2021-01-12 16:17:31 -08:00
diff.rs chore: make all tests annotated with #[cfg(test)] (#9347) 2021-02-01 10:55:23 -05:00
disk_cache.rs fix(lsp): handle cached type dependencies properly (#9500) 2021-02-15 20:32:06 +11:00
errors.rs chore: update copyright to 2021 (#9092) 2021-01-11 18:13:41 +01:00
file_fetcher.rs Make ModuleSpecifier a type alias, not wrapper struct (#9531) 2021-02-17 13:47:18 -05:00
file_watcher.rs Fix race condition in file watcher (#9105) 2021-01-13 10:55:44 -08:00
flags.rs feat: add "deno coverage" subcommand (#8664) 2021-02-24 15:27:51 +01:00
flags_allow_net.rs chore: update copyright to 2021 (#9092) 2021-01-11 18:13:41 +01:00
fmt_errors.rs chore: update copyright to 2021 (#9092) 2021-01-11 18:13:41 +01:00
fs_util.rs feat: add json(c) support to deno fmt (#9292) 2021-02-18 17:31:32 +01:00
http_cache.rs fix(lsp): handle cached type dependencies properly (#9500) 2021-02-15 20:32:06 +11:00
http_util.rs feat(cli): support auth tokens for accessing private modules (#9508) 2021-02-16 13:50:27 +11:00
import_map.rs Make ModuleSpecifier a type alias, not wrapper struct (#9531) 2021-02-17 13:47:18 -05:00
info.rs Make ModuleSpecifier a type alias, not wrapper struct (#9531) 2021-02-17 13:47:18 -05:00
lockfile.rs chore: update copyright to 2021 (#9092) 2021-01-11 18:13:41 +01:00
main.rs feat: add "deno coverage" subcommand (#8664) 2021-02-24 15:27:51 +01:00
main_runtime.rs chore: update copyright to 2021 (#9092) 2021-01-11 18:13:41 +01:00
media_type.rs fix(lsp): handle data URLs properly (#9522) 2021-02-18 15:37:05 +11:00
module_graph.rs Make ModuleSpecifier a type alias, not wrapper struct (#9531) 2021-02-17 13:47:18 -05:00
module_loader.rs Make ModuleSpecifier a type alias, not wrapper struct (#9531) 2021-02-17 13:47:18 -05:00
program_state.rs Make ModuleSpecifier a type alias, not wrapper struct (#9531) 2021-02-17 13:47:18 -05:00
README.md Remove deno_typescript (#6813) 2020-07-20 19:49:57 -04:00
source_maps.rs Make ModuleSpecifier a type alias, not wrapper struct (#9531) 2021-02-17 13:47:18 -05:00
specifier_handler.rs Make ModuleSpecifier a type alias, not wrapper struct (#9531) 2021-02-17 13:47:18 -05:00
standalone.rs Make ModuleSpecifier a type alias, not wrapper struct (#9531) 2021-02-17 13:47:18 -05:00
text_encoding.rs chore: update copyright to 2021 (#9092) 2021-01-11 18:13:41 +01:00
tokio_util.rs upgrade: tokio 1.0 (#8779) 2021-01-11 23:50:02 -08:00
tsc.rs fix(lsp): handle data URLs properly (#9522) 2021-02-18 15:37:05 +11:00
tsc_config.rs docs: improve manual around typescript (#8139) 2021-01-20 09:28:58 +11:00
version.rs fix: full commit hash in canary compile download (#9166) 2021-01-19 13:53:23 +01:00

Deno CLI Crate

crates docs

This provides the actual deno executable and the user-facing APIs.

The deno crate uses the deno_core to provide the executable.