bitbucket_code_coverage 0.0.2

Dart native
Flutter Android iOS

Converts coverage data from LCOV and publishes to Bitbucket server via Bitbucket Server Code Coverage plugin API.

bitbucket_code_coverage #

Build Status codecov

Converts coverage data from LCOV and publishes to Bitbucket server with Bitbucket Server Code Coverage Plugin installed.

Usage #

Add bitbucket_code_coverage to dev_dependencies.

dev_dependencies:
  bitbucket_code_coverage: ^0.0.1

Run the executable for a single coverage file.

pub run bitbucket_code_coverage \
  --url http://localhost:7990 \
  -u <username> \
  -p <password> \
  post \
  -c <commit_id> \
  -f build/lcov.info

In order to publish data from multiple coverage files use --file-pattern option. If you would like to use Personal Access Token you can do so by passing it to -t option.

pub run bitbucket_code_coverage \
    --url http://localhost:7990 \
    -t <personal_access_token> \
    post \
    -c <commit_id> \
    --file-pattern **/lcov.info
0
likes
60
pub points
2%
popularity

Converts coverage data from LCOV and publishes to Bitbucket server via Bitbucket Server Code Coverage plugin API.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

artur.stepniewski@gmail.com

License

Apache 2.0 (LICENSE)

Dependencies

args, collection, glob, http, json_annotation, lcov, logging, meta, path, quiver

More

Packages that depend on bitbucket_code_coverage