coverage 1.11.1 copy "coverage: ^1.11.1" to clipboard
coverage: ^1.11.1 copied to clipboard

Coverage data manipulation and formatting

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate coverage
copied to clipboard

Use it

The package has the following executables:

$ collect_coverage
$ format_coverage
$ test_with_coverage
copied to clipboard

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add coverage
copied to clipboard

With Flutter:

 $ flutter pub add coverage
copied to clipboard

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  coverage: ^1.11.1
copied to clipboard

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:coverage/coverage.dart';
copied to clipboard
117
likes
135
points
6.67M
downloads

Publisher

verified publishertools.dart.dev

Weekly Downloads

2024.08.16 - 2025.02.28

Coverage data manipulation and formatting

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

args, glob, logging, meta, package_config, path, source_maps, stack_trace, vm_service

More

Packages that depend on coverage