ci: adjust coverage requirement for cutler (#470)

This commit is contained in:
Felix Angelov
2023-05-11 14:19:25 -05:00
committed by GitHub
parent c1fa4b2612
commit bc63145936
2 changed files with 28 additions and 0 deletions
+19
View File
@@ -50,6 +50,25 @@ We don't yet have a script to run tests locally. For now, we recommend using
(If you run it in the root, it will find packages in bin/cache/flutter and try
to run tests there, some of which will fail.)
To generate a coverage report install `lcov`:
```
brew install lcov
```
Then run tests with the `--coverage` flag:
```
very_good test -r --coverage
genhtml coverage/lcov.info -o coverage
```
You can view the generated coverage report via:
```
open coverage/index.html
```
### Tracking coverage
The following command will generate a coverage report for the Dart packages: