Skip to content

BD3i/Test-Mojo-Role-Routes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NAME

Test::Mojo::Role::Routes - Write Mojo tests using named routes.

SYNOPSIS

use Test::Mojo;
my $t = Test::Mojo->with_roles('+Routes')->new('MyApp');

$t->get_route_ok('dashboard')->status_is(200)->route_is('dashboard');

DESCRIPTION

Test::Mojo::Role::Routes allows you to use your named routes in tests.

AUTHOR

Brian Davis, BD3i LLC bdiii@cpan.org

COPYRIGHT

This software is copyright (c) 2021 by Brian Davis and BD3i LLC.

LICENSE

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

SEE ALSO

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages