coverage
coverage copied to clipboard
Dart coverage data manipulation and formatting
I use ``` // coverage:ignore-start void doNotCheckForCoverage() { someCode(); } // coverage:ignore-end ``` everywhere and it used to work good. But after writing a lot of test a strange behaviour...
Hey, for some reason, when running `pub run test ` on the `chrome` platform and `--coverage=coverage`, the command hangs and never finishes. All the tests are passing, I see the...
when i run command: flutter pub global run coverage:collect_coverage --uri=http://127.0.0.1:53296 -o coverage.json --resume-isolates then app crahses and service log "Lost conenction to device", and the command output: Bad state: StreamSink...
I am getting a FormatException, when I run the test using the following command: ``` OBS_PORT=9292 dart \ --disable-service-auth-codes \ --pause-isolates-on-exit \ --enable_asserts \ --enable-vm-service=$OBS_PORT \ test/all_tests.dart & ``` The...
In order to roll forward package:vm_service, package:test needed to be updated to a null-safe version. Since 2.10.0 isn't released yet, testing against a stable release will fail. We'll need to...
I have a Dart library that does code generation that I am unable to reliably gather coverage from. The library has tests that rely on the output of an isolate...
If the user is using package:// in their tests, coverage will not be reported because the "lib" is not appended to the path. Here's a dirty hack to get this...
Currently, collecting coverage will collect coverage information for all sources used by the VM. There are scenarios where a user would only like to have coverage information for a subset...