Skip to content

Simple service to test the code coverage of your dart or flutter project

License

Notifications You must be signed in to change notification settings

rushio-consulting/coverage_service

Repository files navigation

Build Status codecov

Code Coverage Service

Why this project

Currently getting coverage in dart is pretty complicated. You need to install a bunch of library and launch some pretty complicated command before you can know how much of your package is tested.

Our goals with this package is to help you better test your package, this project wants to keep everything as simple as possible for developers.

We provide a docker image that has everything installed to get the percentage of you tested code.

Getting started

What do you get from the running docker container ?

  • one number that is the percentage of the covered code
  • it will also create a coverage folder named coverage with the lcov.info file from where you can get gutter for vscode. In this folder you will also find some static web page that show the covered percentage of each file.

Easy to use :

docker run --rm \
    -v $PATH_TO_MY_PROJECT:/app \
    rushioconsulting/coverage_service

where $PATH_TO_MY_PROJECT is the path to your dart or flutter project.

When successful execution, the output directory will be $PATH_TO_MY_PROJECT\coverage

Features and bugs

Please file feature requests and bugs at the issue tracker.

Technical Support

For any technical support, don't hesitate to contact us. Find more information in our website

For now, all the issues with the label support mean that they come out of the scope of the following project. So you can contact us as a support.