The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

App::Ape::test - Run a test manually and upload the results to Elasticsearch

VERSION

version 0.001

USAGE

Adding new results:

    ape test -s OK [ -e 55 -d defect1 ] test1 ... testN

When adding results, your $EDITOR will be opened unless -b is passed.

OPTIONS

-s [STATUS] : This will be set for all the relevant test results indexed. Mandatory.
-d [DEFECT] : this will be associated with all the relevant test results indexed. May be passed multiple times.
-c [CONFIGURATION] : override configuration value, e.g. server.host=some.es.host. Can be passed multiple times.
-e [SECONDS] : Override the 'elapsed' field. Normally the amount of time used to edit your test comment in $EDITOR is used.
-b [FILE] : Provide the body of the test result in the passed file.

CONSTRUCTOR

new(@ARGV)

Process arguments and include all relevant plugins to add a test result.

METHODS

run()

Executes the upload of results to Elasticsearch.

get_test_commentary

If the user has passed a --body, we will read it. Otherwise, open up an EDITOR/VISUAL session to allow them to write to a temp file their test body.

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.