in reply to Perl usage for testing
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl usage for testing
by sarf13 (Beadle) on Jun 11, 2013 at 18:26 UTC | |
by davido (Cardinal) on Jun 11, 2013 at 18:33 UTC | |
by sarf13 (Beadle) on Jun 11, 2013 at 18:48 UTC |