NAME

App::Prove::Elasticsearch::Parser - Capture the output of prove, and upload the results of the test to elasticsearch

VERSION

version 0.001

SYNOPSIS

App::Prove::Elasticsearch::Parser->new();

CONSTRUCTOR

new

Creates a TAP::Parser that will upload test results to your repository using the provided indexer.

OVERRIDDEN CALLBACKS

unknownCallback

Checks for status overrides (% mark_status=DISCARD) and records unknown lines for later upload.

commentCallback

planCallback

bailoutCallback

These do little more than record the information printed during prove for upload to the result index.

testCallback

Captures step information and runtime, along with the raw text of the assertion.

EOFCallback

Actually does the uploading of the result to the index.

Sets test global status as the 'most anomalous' result encountered in the test in the following order (most to least):

Bailout
Skipped (when skip_all happens)
Failed
Todo Passed
Todo Failed

SPECIAL THANKS

Thanks to cPanel Inc, for graciously funding the creation of this module.

AUTHOR

George S. Baugh <teodesian@cpan.org>

SOURCE

The development version is on github at http://https://github.com/teodesian/App-Prove-Elasticsearch and may be cloned from git://https://github.com/teodesian/App-Prove-Elasticsearch.git

COPYRIGHT AND LICENSE

This software is copyright (c) 2018 by George S. Baugh.

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