Record requests to replay as a unit test
Perl
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib/Plack/Middleware/Test
t
xt
.gitignore
.shipit
Changes
MANIFEST
MANIFEST.SKIP
Makefile.PL
README

README

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