Skip to content

fernandomoraesvr/flutter_coverage_badge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flutter_coverage_badge

Flutter Coverage Badge Coverage

Getting Started

Install

dev_dependencies:
  flutter_coverage_badge:
    git:
      url: [email protected]:fernandomoraesvr/flutter_coverage_badge.git
      ref: main
flutter pub get

Run Test with Coverage

flutter test --coverage

Generate badge image

flutter pub run flutter_coverage_badge

Coverage

![Coverage](https://raw.githubusercontent.com/{you}/{repo}/master/coverage_badge.svg?sanitize=true)

Specify input path

Default input path: coverage/lcov.info

flutter pub run flutter_coverage_badge -i 'coverage/new_lcov.info'

Specify output filename

The coverage badge output path is always generated at .github/badges, but you can specify a different filename.

Default output filename: coverage_badge.svg

flutter pub run flutter_coverage_badge -o 'coverage.svg'

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages