script/yath-ui-importer.pl untested

filter: Statementstmt 0.0% 0 / 26 Branchbran 0.0% 0 / 2 Conditioncond 0.0% 0 / 4 MC/DCmcdc 0.0% 0 / 2 Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 39 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 use strict;
2 use warnings;
3  
4 our $VERSION = '0.000150';
5  
6 use Test2::Harness::UI;
7 use Test2::Harness::UI::Config;
8 use Test2::Harness::UI::Importer;
9  
10 my ($dsn, $user, $pass, $seed) = @ARGV;
11  
12 $user ||= '';
13 $pass ||= '';
14  
15 srand($seed) if $seed;
16  
17 my $config = Test2::Harness::UI::Config->new(
18 dbi_dsn => $dsn,
19 dbi_user => $user,
20 dbi_pass => $pass,
21 );
22  
23 $SIG{INT} = sub { exit 0 };
24 $SIG{TERM} = sub { exit 0 };
25  
26 Test2::Harness::UI::Importer->new(config => $config)->run;