Skip to content

Commit

Permalink
docs: run tests and coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagotn committed Oct 4, 2022
1 parent 52b8077 commit a5ec7d8
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,24 @@ A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter, view our
[online documentation](https://flutter.dev/docs), which offers tutorials,
samples, guidance on mobile development, and a full API reference.


## Tests

Run tests and generate coverage file:

``` bash
flutter test --coverage
```

Generate HTML report from coverage file:

``` bash
genhtml coverage/lcov.info -o coverage/html
```

Open HTML report using Firefox:

``` bash
genhtml coverage/lcov.info -o coverage/html
```

0 comments on commit a5ec7d8

Please sign in to comment.