mirror of
https://github.com/denoland/deno.git
synced 2024-12-23 07:44:48 -05:00
ae8874b4b2
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> |
||
---|---|---|
.. | ||
redirects | ||
subdir2 | ||
amd_like.js | ||
auto_print_hello.ts | ||
circular1.ts | ||
circular2.ts | ||
comment.ts | ||
config.json | ||
emittable.d.ts | ||
empty.ts | ||
evil_remote_import.js | ||
foo_types.d.ts | ||
form_urlencoded.txt | ||
indirect_import_error.js | ||
indirect_throws.js | ||
json_1.json | ||
json_2.json | ||
main.ts | ||
mismatch_ext.ts | ||
mod1.ts | ||
mod2.ts | ||
mod3.js | ||
mod4.js | ||
mod5.mjs | ||
mod6.js | ||
more_decorators.ts | ||
mt_application_ecmascript.j2.js | ||
mt_application_ecmascript_jsx.j2.jsx | ||
mt_application_x_javascript.j4.js | ||
mt_application_x_javascript_jsx.j4.jsx | ||
mt_application_x_typescript.t4.ts | ||
mt_application_x_typescript_tsx.t4.tsx | ||
mt_javascript.js | ||
mt_javascript_jsx.jsx | ||
mt_text_ecmascript.j3.js | ||
mt_text_ecmascript_jsx.j3.jsx | ||
mt_text_javascript.j1.js | ||
mt_text_javascript_jsx.j1.jsx | ||
mt_text_typescript.t1.ts | ||
mt_text_typescript_tsx.t1.tsx | ||
mt_video_mp2t.t3.ts | ||
mt_video_mp2t_tsx.t3.tsx | ||
mt_video_vdn.t2.ts | ||
mt_video_vdn_tsx.t2.tsx | ||
no_ext | ||
no_js_ext | ||
polyfill.ts | ||
print_hello.ts | ||
single_module.ts | ||
test_worker_basic.js | ||
throws.js | ||
tla.ts | ||
type_and_code.ts | ||
type_reference.d.ts | ||
type_reference.js | ||
unknown_ext.deno |