NAME

TAP::Formatter::Jenkins::Session - Harness output delegate for Jenkins TAP Plugin output

DESCRIPTION

TAP::Formatter::Jenkins::Session provides Jenkins TAP Plugin output formatting for TAP::Harness.

METHODS

_initialize($arg_for)

Over-ridden private initializer, so we can accept a new "passing_todo_ok" argument at instantiation time.

result($result)

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.

close_test()

Called to close the test session.

Flushes the queue if we've got anything left in it, dumps the Jenkins TAP Plugin formatting output to disk.

add_test_case($case)

Adds an test $case to the list of test_cases we've run in this session.

AUTHOR

Evgeniy Vostrov <vostrov.e@gmail.com>

COPYRIGHT

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

SEE ALSO

TAP::Formatter::Jenkins. TAP::Formatter::Jenkins::MyParser.