NAME

Dancer::Test - Useful routines for testing Dancer apps

VERSION

version 1.9999_02

DESCRIPTION

FUNCTIONS

dancer_response

response_status_is

route_exists

route_doesnt_exist

response_status_isnt

response_content_is

response_content_isnt

response_content_like

response_content_unlike

response_content_is_deeply

response_is_file

response_headers_are_deeply

response_headers_include

import

When Dancer::Test is imported, it should be passed all the applications that are supposed to be tested.

If none passed, then the caller is supposed to be the sole application to test.

# t/sometest.t

use t::lib::Foo;
use t::lib::Bar;

use Dancer::Test 't::lib::Foo', 't::lib::Bar';

AUTHOR

Dancer Core Developers

COPYRIGHT AND LICENSE

This software is copyright (c) 2012 by Alexis Sukrieh.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.