blib/lib/Test2/V1/Base.pm

filter: Statementstmt 100% 53 / 53 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 17 / 17 Podpod n/a totaltotal 100% 70 / 70 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Test2/Util/Trace.pm ↑ Summary blib/lib/Test2/V1/Handle.pm »
1 package Test2::V1::Base;
2 4 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 4 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 4 our $VERSION = '1.302226';
6  
7 4 ▶use Test2::API qw/intercept context/;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 4 ▶use Test2::Tools::Event qw/gen_event/;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 4 ▶use Test2::Tools::Defer qw/def do_def/;
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 4 ▶use Test2::Tools::Basic qw{
Subroutine BEGIN: called CC=1 SCAR=0.0
14 ok pass fail diag note todo skip
15 plan skip_all done_testing bail_out
16 4 };
17  
18 4 ▶use Test2::Tools::Compare qw{
Subroutine BEGIN: called CC=1 SCAR=0.0
19 is like isnt unlike
20 match mismatch validator
21 hash array bag object meta meta_check number float rounded within string subset bool check_isa
22 number_lt number_le number_ge number_gt
23 in_set not_in_set check_set
24 item field call call_list call_hash prop check all_items all_keys all_vals all_values
25 etc end filter_items
26 T F D DF E DNE FDNE U L
27 event fail_events
28 exact_ref
29 4 };
30  
31 4 ▶use Test2::Tools::Warnings qw{
Subroutine BEGIN: called CC=1 SCAR=0.0
32 warns warning warnings no_warnings
33 4 };
34  
35 4 ▶use Test2::Tools::ClassicCompare qw/cmp_ok/;
Subroutine BEGIN: called CC=1 SCAR=0.0
36  
37 4 ▶use Test2::Util::Importer 'Test2::Tools::Subtest' => (
Subroutine BEGIN: called CC=1 SCAR=0.0
38 subtest_buffered => { -as => 'subtest' },
39 4 );
40  
41 4 ▶use Test2::Tools::Class qw/can_ok isa_ok DOES_ok/;
Subroutine BEGIN: called CC=1 SCAR=0.0
42 4 ▶use Test2::Tools::Encoding qw/set_encoding/;
Subroutine BEGIN: called CC=1 SCAR=0.0
43 4 ▶use Test2::Tools::Exports qw/imported_ok not_imported_ok/;
Subroutine BEGIN: called CC=1 SCAR=0.0
44 4 ▶use Test2::Tools::Ref qw/ref_ok ref_is ref_is_not/;
Subroutine BEGIN: called CC=1 SCAR=0.0
45 4 ▶use Test2::Tools::Mock qw/mock mocked/;
Subroutine BEGIN: called CC=1 SCAR=0.0
46 4 ▶use Test2::Tools::Exception qw/try_ok dies lives/;
Subroutine BEGIN: called CC=1 SCAR=0.0
47 4 ▶use Test2::Tools::Refcount qw/is_refcount is_oneref refcount/;
Subroutine BEGIN: called CC=1 SCAR=0.0
48  
49 4 1;
50  
51 __END__
« blib/lib/Test2/Util/Trace.pm ↑ Summary blib/lib/Test2/V1/Handle.pm »