The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

App::Prove::Elasticsearch::Searcher::ByName - Find out whether results exist for cases

VERSION

version 0.001

CONSTRUCTOR

new($server,$port,$index,[$versioner,$platformer])

Connect to the ES instance at $server:$port and check the provided index. That should be defined by your indexer.

filter() requires knowledge of the versioner and platformer, so those must be passed as well. They default to 'Default'.

METHODS

filter(@tests)

Filter out tests in your elasticsearch index matching the filename, platform and SUT version of the test result. Designed to work with App::Prove::Elasticsearch::Indexer.

get_test_replay($sut_version,$platforms,@tests)

Returns a hash describing the test result body and the global status of each test provided.

Must be filtered by the provided sut version and platforms (arrayref).

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.