added test coverage script

This commit is contained in:
Vadim 2023-06-15 15:15:24 +02:00
parent 35af009f99
commit e230a05b5f
2 changed files with 5 additions and 0 deletions

2
.gitignore vendored
View file

@ -58,3 +58,5 @@ android/app/google-services.json
ios/firebase_app_id_file.json ios/firebase_app_id_file.json
ios/Runner/GoogleService-Info.plist ios/Runner/GoogleService-Info.plist
lib/firebase_options.dart lib/firebase_options.dart
coverage/

3
test_coverage.sh Normal file
View file

@ -0,0 +1,3 @@
flutter test --coverage
genhtml coverage/lcov.info -o coverage/html
open coverage/html/index.html