Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
36 lines (24 sloc) 1.02 KB
NAME
Plack::Middleware::Test::Recorder - Record requests to replay as a unit
test
SYNOPSIS
enable "Test::Recorder";
# access /recorder/start to start recording
# access /recorder/stop to stop and save a test file
DESCRIPTION
Plack::Middleware::Test::Recorder is a Plack middleware component to
record HTTP requests and saves them as a Perl unit test script using
Test::WWW::Mechanize::PSGI.
TODO
* Work with Debug panel and such so users can input tests on browsers.
* Current serialization of Plack::Request is a hack. Should update
when Plack::Request is update to support rewindable POST request.
AUTHOR
Tatsuhiko Miyagawa <miyagawa@bulknews.net>
Moritz Onken wrote CatalystX::Test::Recorder which inspires this module.
Leon Brocard wrote Test::WWW::Mechanize::PSGI.
LICENSE
This library is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
SEE ALSO
CatalystX::Test::Recorder Test::WWW::Mechanize::PSGI