GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  TAP::FORMATTER::JUNIT::SESSION (3)

.ds Aq ’

NAME

TAP::Formatter::JUnit::Session - Harness output delegate for JUnit output

CONTENTS

DESCRIPTION

TAP::Formatter::JUnit::Session provides JUnit output formatting for TAP::Harness.

METHODS

<B>_initialize($arg_for)B> Over-ridden private initializer, so we can accept a new passing_todo_ok argument at instantiation time.
<B>result($result)B> Called by the harness for each line of TAP it receives.

Internally, all of the TAP is added to a queue until we hit the start of the next test (at which point we flush the queue. This allows us to capture any error output or diagnostic info that comes after a test failure.

<B>B>close_test()<B>B> Called to close the test session.

Flushes the queue if we’ve got anything left in it, dumps the JUnit to disk (if necessary), and adds the XML for this test suite to our formatter.

<B>dump_junit_xml($testsuite)B> Dumps the JUnit for the given XML $testsuite, to the directory specified by PERL_TEST_HARNESS_DUMP_TAP.
<B>add_testcase($case)B> Adds an XML test $case to the list of testcases we’ve run in this session.
<B>B>xml()<B>B> Returns a new XML::Generator to generate XML output. This is simply a shortcut to $self->formatter->xml().

AUTHOR

Graham TerMarsch <cpan@howlingfrog.com>

COPYRIGHT

Copyright 2008-2010, Graham TerMarsch. All Rights Reserved.

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

SEE ALSO

TAP::Formatter::JUnit.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 TAP::FORMATTER::JUNIT::SESSION (3) 2016-04-03

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.