pcov 1.0.3
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 pcovUse 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 pcovWith Flutter:
$ flutter pub add pcovThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
pcov: ^1.0.3Alternatively, 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';