Home
last modified time | relevance | path

Searched full:harness (Results 1 – 25 of 320) sorted by relevance

12345678910>>...13

/openbsd/src/gnu/usr.bin/perl/cpan/Test-Harness/t/
Denv_opts.t7 use TAP::Harness::Env;
20 ok my $harness = TAP::Harness::Env->create, 'made harness';
21 is( $harness->color, 1, "set color correctly" );
22 is( $harness->jobs, 4, "set jobs correctly" );
32 ok my $harness = TAP::Harness::Env->create, 'made harness';
33 is( $harness->color, 1, "set color correctly" );
34 is( $harness->jobs, 4, "set jobs correctly" );
35 is( $harness->formatter_class, "TAP::Formatter::HTML",
40 skip "requires TAP::Harness::Archive", 5
41 unless _has_module('TAP::Harness::Archive');
[all …]
Dharness.t16 use TAP::Harness;
25 my $HARNESS = 'TAP::Harness';
51 my $harness = shift;
52 $harness->formatter->_colorizer( Colorizer->new );
55 can_ok $HARNESS, 'new';
57 eval { $HARNESS->new( { no_such_key => 1 } ) };
58 like $@, qr/\QUnknown arguments to TAP::Harness::new (no_such_key)/,
61 eval { $HARNESS->new( { lib => 'aint_no_such_lib' } ) };
64 eval { $HARNESS->new( { lib => [qw/bad_lib_1 bad_lib_2/] } ) };
67 ok my $harness = $HARNESS->new,
[all …]
Dfile.t13 use TAP::Harness;
15 my $HARNESS = 'TAP::Harness';
41 my $harness = TAP::Harness->new(
47 my $harness_whisper = TAP::Harness->new( { verbosity => -1 } );
48 my $harness_mute = TAP::Harness->new( { verbosity => -2 } );
49 my $harness_directives = TAP::Harness->new( { directives => 1 } );
50 my $harness_failures = TAP::Harness->new( { failures => 1 } );
51 my $harness_comments = TAP::Harness->new( { comments => 1 } );
52 my $harness_fandc = TAP::Harness->new(
58 can_ok $harness, 'runtests';
[all …]
Dharness-subclass.t9 use TAP::Harness;
39 ok my $harness = TAP::Harness->new( { %class_map, verbosity => -9 } ),
40 'created harness';
41 isa_ok $harness, 'TAP::Harness';
45 ok my $nop = $harness->_construct('NOP'), 'loaded and created';
49 my $aggregate = $harness->runtests(
Dharness-bailout.t199 use TAP::Harness;
204 return TAP::Harness->new({
216 my $harness = create_harness( jobs => 1 );
217 $harness->callback( after_test => sub { push @after_test_callbacks, $_[0] } );
218 eval { $harness->runtests( qw( no-bailout bailout not-executed ) ); };
222 $harness = create_harness( jobs => 2 );
223 $harness->callback( after_test => sub { push @after_test_callbacks, $_[0] } );
224 eval { $harness->runtests( qw( no-bailout-parallel bailout-parallel not-executed-parallel ) ); };
Drulesfile.t9 use TAP::Harness;
46 my $th = TAP::Harness->new;
64 $th = TAP::Harness->new;
86 $th = TAP::Harness->new;
93 $th = TAP::Harness->new( { rulesfile => $altrules} );
Dspool.t55 use TAP::Harness;
89 TAP::Harness->_open_spool(
90 File::Spec->catfile(qw (source_tests harness )) );
99 File::Spec->catfile( @spool, qw( source_tests harness ) ) );
130 TAP::Harness->_close_spool($parser);
Dnofork.t21 use TAP::Harness;
49 my $harness = TAP::Harness->new(
55 $harness->runtests('t/sample-tests/simple');
/openbsd/src/gnu/usr.bin/perl/cpan/Test-Harness/t/compat/
Denv_opts.t7 use Test::Harness;
20 ok my $harness = Test::Harness::_new_harness, 'made harness';
21 is( $harness->color, 1, "set color correctly" );
22 is( $harness->jobs, 4, "set jobs correctly" );
31 ok my $harness = Test::Harness::_new_harness, 'made harness';
32 is( $harness->color, 1, "set color correctly" );
33 is( $harness->jobs, 4, "set jobs correctly" );
34 is( $harness->formatter_class, "TAP::Formatter::HTML",
39 skip "requires TAP::Harness::Archive", 5
40 unless _has_module('TAP::Harness::Archive');
[all …]
Dswitches.t11 use Test::Harness;
14 $Test::Harness::Switches = $switch;
15 ok my $harness = Test::Harness::_new_harness, 'made harness';
16 is_deeply [ $harness->lib ], ['-Ifoo'], 'got libs';
Dsubclass.t15 use Test::Harness;
22 is $ENV{HARNESS_IS_SUBCLASS}, 'TAP::Harness::TestSubclass';
33 local $ENV{HARNESS_SUBCLASS} = 'TAP::Harness::TestSubclass';
35 = Test::Harness::execute_tests( tests => [$tempfile] );
Dfailure.t10 use Test::Harness;
14 #todo_skip 'Harness compatibility incomplete', 5;
15 #local $TODO = 'Harness compatibility incomplete';
52 local $Test::Harness::Verbose = -9;
/openbsd/src/gnu/usr.bin/perl/cpan/CPAN-Meta/t/data-fixable/
DMETA-1_2.yml2 name: Test-Harness-Straps
12 Test::Harness::Assert:
13 file: lib/Test/Harness/Assert.pm
15 Test::Harness::Iterator:
16 file: lib/Test/Harness/Iterator.pm
18 Test::Harness::Iterator::ARRAY:
19 file: lib/Test/Harness/Iterator.pm
20 Test::Harness::Iterator::FH:
21 file: lib/Test/Harness/Iterator.pm
22 Test::Harness::Point:
[all …]
/openbsd/src/gnu/usr.bin/perl/cpan/CPAN-Meta/t/data-test/
DMETA-1_2.yml2 name: Test-Harness-Straps
13 Test::Harness::Assert:
14 file: lib/Test/Harness/Assert.pm
16 Test::Harness::Iterator:
17 file: lib/Test/Harness/Iterator.pm
19 Test::Harness::Iterator::ARRAY:
20 file: lib/Test/Harness/Iterator.pm
21 Test::Harness::Iterator::FH:
22 file: lib/Test/Harness/Iterator.pm
23 Test::Harness::Point:
[all …]
/openbsd/src/gnu/usr.bin/perl/cpan/CPAN-Meta/t/data-fail/
DMETA-1_2.yml2 name: Test-Harness-Straps
12 Test::Harness::Assert:
13 file: lib/Test/Harness/Assert.pm
15 Test::Harness::Iterator:
16 file: lib/Test/Harness/Iterator.pm
18 Test::Harness::Iterator::ARRAY:
19 file: lib/Test/Harness/Iterator.pm
20 Test::Harness::Iterator::FH:
21 file: lib/Test/Harness/Iterator.pm
22 Test::Harness::Point:
[all …]
/openbsd/src/gnu/usr.bin/perl/cpan/Test-Harness/lib/TAP/Harness/
DBeyond.pod3 Test::Harness::Beyond - Beyond make test
7 Test::Harness is responsible for running test scripts, analysing
9 F<make test> (or F<./Build test>) for a module, Test::Harness is usually
10 used to run the tests (not all modules use Test::Harness but the
13 To start exploring some of the features of Test::Harness I need to
15 Test::Harness). For the following examples I'll also need a recent
16 version of Test::Harness installed; 3.14 is current as I write.
22 there's a directory called 't' that contains our tests. Test::Harness
204 from the parser. L<App::Prove> supports arbitrary plugins, and L<TAP::Harness>
210 If writing a plugin is not enough, you can write your own test harness; one of
[all …]
DEnv.pm1 package TAP::Harness::Env;
94 my $class = delete $input{harness_class} || $ENV{HARNESS_SUBCLASS} || 'TAP::Harness';
110 $class = 'TAP::Harness::Archive';
125 TAP::Harness::Env - Parsing harness related environmental variables where appropriate
133 my $harness = TAP::Harness::Env->create(\%extra_args)
137 This module implements the environmental variables that L<Test::Harness> uses with TAP::Harness, an…
145 …s. In accepts C<harness_class> (which defaults to C<TAP::Harness>), and any argument the harness c…
163 If true, C<TAP::Harness> will output the verbose results of running
168 Specifies a TAP::Harness subclass to be used in place of TAP::Harness.
172 Provide additional options to the harness. Currently supported options are:
[all …]
/openbsd/src/gnu/usr.bin/perl/cpan/Test-Harness/lib/Test/
DHarness.pm1 package Test::Harness;
11 use TAP::Harness ();
30 Test::Harness - Run Perl standard test scripts with statistics
69 use Test::Harness;
75 Although, for historical reasons, the L<Test::Harness> distribution
77 L<TAP::Harness> with an interface that is somewhat backwards compatible
78 with L<Test::Harness> 2.xx. If you're writing new code consider using
79 L<TAP::Harness> directly instead.
82 pluggable 'Straps' interface that previous versions of L<Test::Harness>
84 alone module: L<Test::Harness::Straps>.
[all …]
/openbsd/src/gnu/usr.bin/perl/cpan/Test-Simple/t/Legacy/
D00test_harness_check.t3 # A test to make sure the new Test::Harness was installed properly.
10 require Test::Harness;
11 unless( cmp_ok( eval $Test::Harness::VERSION, '>=', $TH_Version, "T::H version" ) ) {
15 Test::Harness greater than $TH_Version. You have $Test::Harness::VERSION.
18 If you've already tried to upgrade Test::Harness and still get this
20 output of Test::Harness's "make install" for "## Differing version"
/openbsd/src/gnu/usr.bin/perl/cpan/Test-Harness/lib/TAP/
DHarness.pm1 package TAP::Harness;
15 TAP::Harness - Run test scripts with statistics
37 This is a simple test harness which allows tests to be run and results
42 use TAP::Harness;
43 my $harness = TAP::Harness->new( \%args );
44 $harness->runtests(@tests);
139 my $harness = TAP::Harness->new( \%args );
141 The constructor returns a new C<TAP::Harness> object. It accepts an
220 subroutine reference should expect the TAP::Harness object itself as the
224 TAP::Harness will fall back on executing the test script in Perl:
[all …]
/openbsd/src/gnu/usr.bin/perl/t/lib/croak/
Dpp_sys19 open FOO, "../harness";
25 open $foo, "../harness";
34 open FOO, "../harness";
43 open $foo, "../harness";
48 open FOO, "../harness";
54 open my $foo, "../harness";
63 open FOO, "../harness";
72 open my $foo, "../harness";
78 open my $fh, "<:raw", "../harness" or die "# $!";
/openbsd/src/gnu/usr.bin/perl/cpan/Test-Harness/lib/App/
DProve.pm6 use TAP::Harness::Env;
29 L<Test::Harness> provides a command, C<prove>, which runs a TAP based
57 formatter harness includes modules plugins jobs lib merge parse quiet
218 'harness=s' => \$self->{harness},
305 $self->require_harness( archive => 'TAP::Harness::Archive' );
313 if ( my $harness_opt = $self->harness ) {
314 $self->require_harness( harness => $harness_opt );
531 my $harness = TAP::Harness::Env->create($args);
535 $harness->callback(
541 $harness->callback(
[all …]
/openbsd/src/gnu/usr.bin/perl/
DMANIFEST2333 cpan/Test-Harness/bin/prove The prove harness utility
2334 cpan/Test-Harness/lib/App/Prove.pm Gubbins for the prove utility
2335 cpan/Test-Harness/lib/App/Prove/State.pm Gubbins for the prove utility
2336 cpan/Test-Harness/lib/App/Prove/State/Result.pm Gubbins for the prove utility
2337 cpan/Test-Harness/lib/App/Prove/State/Result/Test.pm Gubbins for the prove utility
2338 cpan/Test-Harness/lib/TAP/Base.pm A parser for Test Anything Protocol
2339 cpan/Test-Harness/lib/TAP/Formatter/Base.pm A parser for Test Anything Protocol
2340 cpan/Test-Harness/lib/TAP/Formatter/Color.pm A parser for Test Anything Protocol
2341 cpan/Test-Harness/lib/TAP/Formatter/Console.pm A parser for Test Anything Protocol
2342 cpan/Test-Harness/lib/TAP/Formatter/Console/ParallelSession.pm A parser for Test Anything Protocol
[all …]
/openbsd/src/gnu/usr.bin/perl/cpan/Test-Harness/lib/TAP/Formatter/
DColor.pm50 Note that this harness is I<experimental>. You may not like the colors I've
53 This test harness is the same as L<TAP::Harness>, but test results are output
64 my $harness = TAP::Formatter::Color->new( \%args );
65 $harness->runtests(@tests);
/openbsd/src/gnu/usr.bin/perl/cpan/Test-Harness/lib/TAP/Formatter/Console/
DParallelSession.pm21 # Horrid bodge. This creates our shared context per harness. Maybe
22 # TAP::Harness should give us this?
40 TAP::Formatter::Console::ParallelSession - Harness output delegate for parallel console output
52 This provides console orientated output formatting for L<TAP::Harness>
53 when run with multiple L<TAP::Harness/jobs>.
117 Called by the harness for each line of TAP it receives .

12345678910>>...13