Scroll to navigation

App::Yath::Plugin::Cover(3pm) User Contributed Perl Documentation App::Yath::Plugin::Cover(3pm)

NAME

App::Yath::Plugin::Cover - Plugin to collect and report basic coverage data

DESCRIPTION

Simple coverage data, file and sub coverage only. Use Devel::Cover if you want deep coverage stats.

PROVIDED OPTIONS

COMMAND OPTIONS

Cover Options

Choose a custom aggregator subclass
Choose a Test2::Plugin::Cover subclass
NO DESCRIPTION - FIX ME

Can be specified multiple times

Use Test2::Plugin::Cover to collect coverage data for what files are touched by what tests. Unlike Devel::Cover this has very little performance impact (About 4% difference)
http://example.com/coverage
This can be a test log, a coverage dump (old style json or new jsonl format), or a url to any of the previous. Tests will not be run if the file/url is invalid.
File type for coverage source. Usually it can be detected, but when it cannot be you should specify. "json" is old style single-blob coverage data, "jsonl" is the new by-test style, "log" is a logfile from a previous run.
Coverage 'from' manager to use when coverage data does not provide one
http://example.com/coverage
This can be a test log, a coverage dump (old style json or new jsonl format), or a url to any of the previous. Tests will coninue if even if the coverage file/url is invalid.
Same as "from_type" but for "maybe_from". Defaults to "from_type" if that is specified, otherwise auto-detect
NO DESCRIPTION - FIX ME

Can be specified multiple times

Create a json or jsonl file of all coverage data seen during the run (This implies --cover-files).

SOURCE

The source code repository for Test2-Harness can be found at http://github.com/Test-More/Test2-Harness/.

MAINTAINERS

AUTHORS

COPYRIGHT

Copyright 2020 Chad Granum <exodist7@gmail.com>.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/

2024-03-08 perl v5.38.2