Skip to content
Sections
>> Trisquel >> Paket >> aramo >> perl >> libplack-test-anyevent-perl
etiona  ] [  nabia  ] [  aramo  ]
[ Källkod: libplack-test-anyevent-perl  ]

Paket: libplack-test-anyevent-perl (0.08-1)

run Plack::Test on AnyEvent-based PSGI applications

Plack::Test::AnyEvent allows you to easily test your AnyEvent-based PSGI applications. Normally, Plack::Test::MockHTTP or Plack::Test::Server work fine for this, but this implementation comes in handy when you'd like to test your streaming results as they come in, or if your application uses long-polling. For non-streaming requests, you can use this module exactly like Plack::Test::MockHTTP; otherwise, you can set up a content handler and call $res->recv. The event loop will then run until the PSGI application closes its writer handle or until your test client calls send on the response.

Andra paket besläktade med libplack-test-anyevent-perl

  • beror
  • rekommenderar
  • föreslår
  • dep: libanyevent-perl
    event loop framework with multiple implementations
  • dep: libplack-perl
    interface between web servers and Perl web applications
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

Hämta libplack-test-anyevent-perl

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
all 13,7 kbyte36 kbyte [filförteckning]