format_coverage
.collect_coverage
: prevent hang if initial VM service connection is slow.evaluate:source
ranges may appear in the returned source report manifesting in a crash in collect_coverage
. These generally correspond to source evaluations in the debugger and add little value to line coverage.format_coverage
: may be slower for large sets of coverage JSON input files. Unlikely to be an issue due to elimination of --coverage-dir
VM flag.Require at least Dart SDK 1.16.0.
Bugfix in format_coverage: if --report-on
is not specified, emit all coverage, rather than none.
Formatter.format
added two optional arguments: reportOn
and pathFilter
. They can be used independently to limit the files which are included in the output.
Added runAndCollect
API to library.
Added collect
top-level method.
Updated support for latest 0.11.0
dev build.
Replaced ServiceEvent.eventType
with ServiceEvent.kind
.
ServiceEvent.eventType
is deprecated and will be removed in 0.8
.format_coverage
no longer emits SDK coverage unless --sdk-root is set explicitly.
Removed support for collecting coverage from old (<1.9.0) Dart SDKs.
Removed deprecated Resolver.pkgRoot
.
Optimized formatters and fixed return value of format
methods.
Added Resolver.packageRoot
– deprecated Resolver.pkgRoot
.
Support the latest release of args
package.
Support the latest release of logging
package.
Fixed error when trying to access invalid paths.
Require at least Dart SDK v1.9.0.
pub global run
.