use strict; use warnings; use Test::Most; use Test::Mojo::Most; my $t = Test::Mojo::Most->new; $t->get_ok( ... ) # from Test::Mojo ->status_is( ... ) # from Test::Mojo::Session ->session_has( ... ) # from Test::Mojo::More ->cookie_has( ... ) # from Test::Mojo::Trim ->trimmed_content_is( ... ) # and so on ; done_testing();
Test::Mojo::Most is an extension for Test::Mojo, it inherits all methods from Test::Mojo, Test::Mojo::Session, Test::Mojo::Trim, and Test::Mojo::More. It will add more Test::Mojo:: modules as they become available.
This module also fixes Test::Mojo::More to use the correct values when retrieving the cookies / session / flash values
Lee Johnson -
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. If you would like to contribute documentation please raise an issue / pull request:
Please raise issues: https://github.com/leejo/test-mojo-most/issues