TestRail::Utils::Find - Find runs and tests according to user specifications.
version 0.052
Find runs based on the options HASHREF provided. See the documentation for testrail-runs, as the long argument names there correspond to hash keys.
The primary routine of testrail-runs.
OPTIONS
HANDLE
Returns ARRAYREF of run definition HASHREFs.
Get the tests specified by the options passed.
OPTS
PROJECT
RUN
PLAN
CONFIGS
USERS
STATUSES
Returns ARRAYREF of tests, and the run in which they belong.
Given an ARRAY of tests, find tests meeting your criteria (or not) in the specified directory.
MATCH
NO-MATCH
ORPHANS
NO-RECURSE
NAMES-ONLY
EXTENSION
FINDER
CASES
Returns tests found that meet the criteria laid out in the options. Provides absolute path to tests if match is passed; this is the 'full_title' key if names-only is false/undef. Dies if mutually exclusive options are passed.
Get cases in a testsuite matching your parameters passed
Find orphan, missing and needing-update cases. They are returned as the hash keys 'orphans', 'missing', and 'updates' respectively. The testsuite_id is also returned in the output hashref.
Option hash keys for input are 'no-missing', 'orphans', and 'update'.
Returns HASHREF.
Get results for tests by name, filtered by the provided options, and skipping any runs found in the provided ARRAYREF of run IDs.
Probably should have called this findResults, but we all prefer to get results right?
Returns ARRAYREF of results, and an ARRAYREF of seen plan IDs
Valid Options:
Thanks to cPanel Inc, for graciously funding the creation of this module.
George S. Baugh <teodesian@cpan.org>
The development version is on github at https://github.com/teodesian/TestRail-Perl and may be cloned from git://github.com/teodesian/TestRail-Perl.git
This software is copyright (c) 2022 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.
To install TestRail::API, copy and paste the appropriate command in to your terminal.
cpanm
cpanm TestRail::API
CPAN shell
perl -MCPAN -e shell install TestRail::API
For more information on module installation, please visit the detailed CPAN module installation guide.