|
|
| laziness, impatience, and hubris | |
| PerlMonks |
Re: Mojolicious Test::Mojo remote appby davido (Cardinal) |
| on Feb 16, 2022 at 22:25 UTC ( [id://11141430]=note: print w/replies, xml ) | Need Help?? |
|
See Mojolicious Guides Testing: The Test::Mojo-object. In short, yes, you can specify the entire URL to issue requests against, allowing you to test remote web applications. This works because Test::Mojo contains a Mojo::UserAgent object. As an example:
If you run that you should see:
Dave
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||