Mango/TestSuiteInjection.pm untested

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
INIT
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package OpenTelemetry::Instrumentation::Mango::TestSuiteInjection;
2 # ABSTRACT: Inject the Mango instrumentation into a third party test suite
3  
4 our $VERSION = '0.01';
5  
6 use strict;
7 use warnings;
8  
9 INIT {
10 require OpenTelemetry::Instrumentation;
11 OpenTelemetry::Instrumentation->import('Mango');
12 }
13  
14 1;
15  
16 =encoding utf8
17  
18 =head1 NAME
19  
20 TestSuiteInjection - Run OpenTelemetry::Instrumentation::Mango in existing test suites
21  
22 =head1 DESCRIPTION
23  
24 This is a utility module to inject instrumentation into Mango instances in existing
25 test suites -like the stock Mojolicious test suite- to make sure we are not introducing
26 unintended regressions.
27  
28 $ git clone https://github.com/oliwer/mango.git
29 $ cd mango
30 $ PERL5OPT=-MOpenTelemetry::Instrumentation::Mango::TestSuiteInjection prove -l t/
31  
32 =head1 SEE ALSO
33  
34 L<OpenTelemetry::Instrumentation::Mango>, L<Mango>
35  
36 =cut