App-Prove-Plugin-Metrics

 view release on metacpan or  search on metacpan

lib/App/Prove/Plugin/Metrics.pm  view on Meta::CPAN

=item label

The assertion label will be included in the metric name when C<label=1>.

=item allowed

The character class of characters that may appear in the final metric name.  All other characters will be removed.

=item rollup

If C<rollup=1>, the metric value will be the percentage of passing tests at that metric name (0 to 1 inclusive).  When C<rollup=0>, the default, the metric value will be a Boolean pass/fail value (0 or 1).

=back

=head2 File Output

The default output mechanism for test metrics is a plain file.  The plugin can be configured as:

  -PMetrics=file,key,value,...

The following options are available in file-output mode:



( run in 0.886 second using v1.01-cache-2.11-cpan-39bf76dae61 )