Test::Reporter::Transport::HTTPGateway(3) HTTP transport for Test::Reporter

VERSION

version 1.57

SYNOPSIS


my $report = Test::Reporter->new(
transport => 'HTTPGateway',
transport_args => [ $url, $key ],
);

DESCRIPTION

This module transmits a Test::Reporter report via HTTP to a Test::Reporter::HTTPGateway server (or something with an equivalent API).

USAGE

See Test::Reporter and Test::Reporter::Transport for general usage information.

Transport Arguments

    $report->transport_args( $url, $key );

This transport class accepts two positional arguments. The first is required and specifies the URL for the HTTPGateway server. The second argument specifies an API key to transmit to the gatway. It is optional for the transport class, but may be required by particular gateway servers.

METHODS

These methods are only for internal use by Test::Reporter.

new

    my $sender = Test::Reporter::Transport::HTTPGateway->new( 
        @args 
    );

The "new" method is the object constructor.

send

    $sender->send( $report );

The "send" method transmits the report.

AUTHORS

  Adam J. Foxson <[email protected]>
  David Golden <[email protected]>
  Kirrily "Skud" Robert <[email protected]>
  Ricardo Signes <[email protected]>
  Richard Soderberg <[email protected]>
  Kurt Starsinic <[email protected]>

COPYRIGHT AND LICENSE

This software is copyright (c) 2010 by Authors and Contributors.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.