Skip to content

Latest commit

 

History

History

example

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

example

generate_dart_file

Generates a dart file of all project files which should be covered by unit tests.

option abbreviation info
output -o A path to save output file. Defaults to test/coverage_report_test.dart.
remove -r A regexp pattern of paths to exclude. Optional.
help -h Displays help.
flutter pub run dart_code_coverage:generate_dart_file -r ".*\.g\.dart","localizations.dart"

edit_lcov

Removes files with given patterns from lcov.info

option abbreviation info
file -f The lcov.info file to edit. Defaults to coverage/lcov.info.
remove -r A regexp pattern of paths to exclude. Must be given.
help -h Displays help.
flutter pub run dart_code_coverage:edit_lcov -r ".*\.g\.dart","localizations.dart"