pcov 1.0.3 copy "pcov: ^1.0.3" to clipboard
pcov: ^1.0.3 copied to clipboard

The Pinch coverage CLI tool that makes your testing easier. Include untested files and exclude files through your own configuration.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate pcov

Use it

The package has the following executables:

$ pcov

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add pcov

With Flutter:

 $ flutter pub add pcov

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

dependencies:
  pcov: ^1.0.3

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:pcov/create_file_references.dart';
import 'package:pcov/get_dart_files.dart';
import 'package:pcov/get_package_name.dart';
import 'package:pcov/get_pcov_configuration.dart';
import 'package:pcov/pcov_configuration.dart';
import 'package:pcov/remove_files_for_content.dart';
import 'package:pcov/remove_files_for_names.dart';
import 'package:pcov/run_test_command.dart';
5
likes
140
pub points
12%
popularity

Publisher

verified publisherpinch.nl

The Pinch coverage CLI tool that makes your testing easier. Include untested files and exclude files through your own configuration.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (LICENSE)

Dependencies

args, collection, yaml

More

Packages that depend on pcov