coverage
coverage copied to clipboard
Dart coverage data manipulation and formatting
Currently, `// coverage:ignore-file` is available for ignoring the whole file from coverage but some tools (such as built_value_generator) do not generate files with that meta-comment. It would be nice if...
Description ======== While generating coverage reports is super important, in order to use coverage in CI workflows, sometimes you want to enforce a certain coverage percentage. Python's [coverage](https://github.com/nedbat/coveragepy) library do...
For the file: ```dart // main.dart abstract class SuperKlass { const SuperKlass(); } class Klass extends SuperKlass { const Klass() : super(); double divide(double numerator, double denominator) { if (denominator...
Add a command line flag that works like `// coverage:ignore-file`. It should also be able to handle globs, so that users can ignore all generated files like `*.g.dart`.
Trying to add function and branch coverage to flutter (https://github.com/flutter/flutter/issues/108313), but function coverage is unusably slow, due to the large number of source files that need to be scanned in...
Is there a way for the coverage to detect already tested functions inside other functions?   If I put the function call directly into the return, then, the return...
In the image below, lines 181, 184, and 187 are showing as not covered by my tests but the tests specifically test the correct execution of those lines. To verify...
Yesterday I was able to collect code coverage with `flutter test --coverage`. Today I upgraded to 1.3.2 and I get this error on my windows, mac and linux machines: ```bash...
test/chrome_test.dart fails on windows CI, and I haven't been able to reproduce it locally. Skipping it for now. https://github.com/dart-lang/coverage/runs/6459692741?check_suite_focus=true
Follow up from #382. We should consider bumping the minimum SDK version to 2.17, perhaps when bumping the coverage version to 3. This would let us remove the `--packages` flag,...