grinder_coveralls 2.2.0 copy "grinder_coveralls: ^2.2.0" to clipboard
grinder_coveralls: ^2.2.0 copied to clipboard

discontinued

Grinder plug-in collecting your code coverage as LCOV and uploading it to the Coveralls service.

example/main.dart

import 'package:grinder/grinder.dart';
import 'package:grinder_coveralls/grinder_coveralls.dart';

@Task('Collects and uploads the coverage data in one pass')
Future<void> collectAndUploadCodeCoverage() async =>
  uploadCoverage(await collectCoverage('test/**_test.dart', reportOn: [libDir.path]));

@Task('Collects the coverage data and saves it as LCOV format')
Future<void> collectCodeCoverage() =>
  collectCoverage('test/**_test.dart', reportOn: [libDir.path], saveAs: 'path/to/lcov.info');

@Task('Uploads the LCOV coverage report to the Coveralls service')
Future<void> uploadCoverageReport() async =>
  uploadCoverage(await getFile('path/to/lcov.info').readAsString());
0
likes
15
pub points
0%
popularity

Publisher

verified publisherbelin.io

Grinder plug-in collecting your code coverage as LCOV and uploading it to the Coveralls service.

Homepage
Repository
View/report issues

License

unknown (LICENSE)

Dependencies

code_builder, coverage, coveralls, crypto, glob, grinder

More

Packages that depend on grinder_coveralls