You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/README.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,6 +73,14 @@ To generate the OpenSource licenses dart file via [flutter_oss_licenses](https:/
73
73
74
74
>Note: Run `flutter format .` once [oss_licenses.dart](../lib/presentation/licenses/oss_licenses.dart) is created.
75
75
76
+
## Running tests and generating Test Report
77
+
78
+
- Step 1: Just for the 1st time, to make sure that all files are included, run ```./.github/scripts/coverage_gen.sh``` to generate a report for the whole project.
79
+
- Step 2: Run ```flutter test --coverage```. This will generate the report locally.
80
+
- Step 3: Run ```genhtml coverage/lcov.info -o coverage```.
81
+
- Step 4: Run ``` firefox coverage/index.html``` (or run ```coverage/index.html``` to any of your web browser).
82
+
#### You should see the coverage of your tests line-wise in Codecov.
83
+
76
84
## Getting Started with Flutter
77
85
78
86
A few resources to get you started if this is your first Flutter project:
0 commit comments