NAME

Test::LWP::UserAgent::TestRailMock - Provides an interface to something like TestRail's REST api in a bogus fashion

VERSION

version 0.026

SYNOPSIS

use Test::LWP::UserAgent::TestRailMock;
use TestRail::API;
my $tr = TestRail::API->new('http://testrail.local','teodesian@cpan.org','bogus',0);
$tr->{'browser'} = $Test::LWP::UserAgent::TestRailMock::mockObject;

DESCRIPTION

Provides a Test::LWP::UserAgent with mappings defined for all the requests made by this module's main test. More or less provides a successful response with bogus data for every API call exposed by TestRail::API. Used primarily by said module's tests (whenever the test environment does not provide a TestRail server to test against).

You probably won't need/want to use it, but you can by following the SYNOPSIS.

The module was mostly auto-generated, with a few manual tweaks.

AUTHOR

George S. Baugh <teodesian@cpan.org>

SOURCE

The development version is on github at http://github.com/teodesian/TestRail-Perl and may be cloned from git://github.com/teodesian/TestRail-Perl.git

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 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.