code_coverage 1.1.0 copy "code_coverage: ^1.1.0" to clipboard
code_coverage: ^1.1.0 copied to clipboard

outdated

A CLI tool and package useful for reporting code coverage of a given dart package

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate code_coverage

Use it

The package has the following executables:

$ code_coverage

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add code_coverage

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

dependencies:
  code_coverage: ^1.1.0

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

Import it

Now in your Dart code, you can use:

import 'package:code_coverage/code_coverage.dart';
6
likes
0
points
120
downloads

Publisher

verified publishergustavohill.dev

Weekly Downloads

A CLI tool and package useful for reporting code coverage of a given dart package

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

ansicolor, args, coverage, path, process_run, yaml

More

Packages that depend on code_coverage