PHP 8.2.31
Preview: File.pm Size: 850 B
/proc/thread-self/root/usr/share/perl5/vendor_perl/TAP/Formatter/File.pm

package TAP::Formatter::File;

use strict;
use warnings;
use TAP::Formatter::File::Session;
use POSIX qw(strftime);

use base 'TAP::Formatter::Base';

=head1 NAME

TAP::Formatter::File - Harness output delegate for file output

=head1 VERSION

Version 3.42

=cut

our $VERSION = '3.42';

=head1 DESCRIPTION

This provides file orientated output formatting for TAP::Harness.

=head1 SYNOPSIS

 use TAP::Formatter::File;
 my $harness = TAP::Formatter::File->new( \%args );

=head2 C<< open_test >>

See L<TAP::Formatter::Base>

=cut

sub open_test {
    my ( $self, $test, $parser ) = @_;

    my $session = TAP::Formatter::File::Session->new(
        {   name      => $test,
            formatter => $self,
            parser    => $parser,
        }
    );

    $session->header;

    return $session;
}

sub _should_show_count {
    return 0;
}

1;

Directory Contents

Dirs: 2 × Files: 5

Name Size Perms Modified Actions
Console DIR
- drwxr-xr-x 2024-03-03 19:11:20
Edit Download
File DIR
- drwxr-xr-x 2024-03-03 19:11:20
Edit Download
11.59 KB lrw-r--r-- 2018-03-19 18:20:50
Edit Download
2.27 KB lrw-r--r-- 2018-03-19 18:20:50
Edit Download
1.95 KB lrw-r--r-- 2018-03-19 18:20:50
Edit Download
850 B lrw-r--r-- 2018-03-19 18:20:50
Edit Download
4.87 KB lrw-r--r-- 2018-03-19 18:20:50
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).