summaryrefslogtreecommitdiff
path: root/cli/coverage.rs
AgeCommit message (Collapse)Author
2020-09-29refactor(cli): extract inspector session (#7756)Casper Beyer
This extracts the inspector session specific bits from CoverageCollector into a standalone struct dubbed `InspectorSesssion` which can be used as a general purpose session to communicate with the inspector on the same thread as an isolate/inspector pair lives on.
2020-09-29chore(cli/coverage): remove unused runtime domain (#7749)Casper Beyer
Previously when we used the websocket to talk to the inspector we used the runtime domain to send a "runIfWaitingForDebugger" message. However this is not required since we now talk to the inspector directly and no longer send said message so this removes the enabling of the domain entirely.
2020-09-23fix(cli/coverage): print lines with no coverage to stdout (#7640)Casper Beyer
2020-09-22refactor(cli/coverage): remove dependency on global state (#7616)Casper Beyer
This removes the dependency on global state and instead relies on the runtime's internal state to get the script sources it saw when it collected code coverage for them.
2020-09-21refactor: use futures and serde_json from deno_core (#7614)Bartek IwaƄczuk
2020-09-21refactor(cli/coverage): await for inspector message response (#7584)Casper Beyer
2020-09-19refactor(cli/coverage): use json and error check protocol responses (#7577)Casper Beyer
2020-09-16Re-export deno_core::url (#7525)Ryan Dahl
Also re-exports deno_core::futures and deno_core::serde_json but these are not yet used in the CLI.
2020-09-15refactor: use the 'anyhow' crate instead of 'ErrBox' (#7476)Bert Belder
2020-09-13feat(unstable): deno test --coverage (#6901)Casper Beyer
This commit adds basic support for collecting coverage data using "deno test". Currently the report is only a text added to the end of output from "deno test".