CatalystX::Test::Most

Test base pulling in Catalyst::Test, Test::More, Test::Fatal, and HTTP::Request::Common for unit tests ...
Download

CatalystX::Test::Most Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Ashley Pond V
  • Publisher web site:
  • http://search.cpan.org/~ashley/

CatalystX::Test::Most Tags


CatalystX::Test::Most Description

CatalystX::Test::Most is a test base for pulling in Catalyst::Test, Test::More, Test::Fatal, and HTTP::Request::Common for unit tests on Catalyst applications.Synopsis use CatalystX::Test::Most "MyApp"; ok request("/")->is_success, "/ is okay"; is exception { request("/no-such-uri") }, undef, "404s do not throw exceptions"; is request("/no-such-uri")->code, 404, "And do return 404"; done_testing(); # ok 1 - / is okay # ok 2 - 404s do not throw exceptions # ok 3 - And do return 404 # 1..3Product's homepage


CatalystX::Test::Most Related Software