Mojolicious comes with Mojo::UserAgent, which is a non-blocking I/O HTTP and WebSocket user agent. It comes with Test::Mojo, which is a test driven development toolkit for web applications. And it comes with Mojo::IOLoop, which is a minimalistic event loop with support for multiple reactor backends. Put those together along with Mojo::DOM, a minimalistic HTML/XML DOM parser with CSS selector support, and you've got a fairly complete and coherent tool kit for web application testing.
The whole thing installs in about a minute, and has no non-core dependencies. Additional documentation, examples, and webcasts are available at http://mojolicio.us. Do watch the Mojo::UserAgent screencast.
With those tools you should be able to build a suite of tests that (thanks to the IOLoop and the non-blocking user agent) load test with multiple login requrests, for example.
Yes, those module descriptions were copied and pasted. ;)
Dave
In reply to Re: Perl usage for testing
by davido
in thread Perl usage for testing
by sarf13
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |