App::PAIA::Tester - Facilitate PAIA client unit tests
version 0.24
use Test::More; use App::PAIA::Tester; new_paia_test; paia qw(config base http://example.org/); is error, undef; paia qw(config); is_deeply stdout_json, { base => 'http://example.org/' }; paia qw(login -u alice -p 1234); is stderr, ''; is exit_code, 0; my $token = stdout_json->{access_token}; ok $token; done_paia_test;
The module implements a simple a singleton wrapper around App::Cmd::Tester to facilitate writing unit tests for the paia client App::PAIA.
Jakob Voß
This software is copyright (c) 2013 by Jakob Voß.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
1 POD Error
The following errors were encountered while parsing the POD:
Cannot have multiple =encoding directives
Invalid =encoding syntax: UTF-8
To install App::PAIA, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::PAIA
CPAN shell
perl -MCPAN -e shell install App::PAIA
For more information on module installation, please visit the detailed CPAN module installation guide.