How to Install and Uninstall libplack-test-anyevent-perl Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 26,2024

1. Install "libplack-test-anyevent-perl" package

Learn how to install libplack-test-anyevent-perl on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install libplack-test-anyevent-perl

2. Uninstall "libplack-test-anyevent-perl" package

This is a short guide on how to uninstall libplack-test-anyevent-perl on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove libplack-test-anyevent-perl $ sudo apt autoclean && sudo apt autoremove

3. Information about the libplack-test-anyevent-perl package on Ubuntu 21.10 (Impish Indri)

Package: libplack-test-anyevent-perl
Architecture: all
Version: 0.08-1
Priority: optional
Section: universe/perl
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 36
Depends: libanyevent-perl, libplack-perl, perl
Filename: pool/universe/libp/libplack-test-anyevent-perl/libplack-test-anyevent-perl_0.08-1_all.deb
Size: 14016
MD5sum: aee9b10c1d8c2088bef13be87161d16b
SHA1: e04588546916cf9ff15e9327998a04133c60ed45
SHA256: 3548f0d9bccff13fed9af4ee06a1dffb4bf1b1aeecc34b597e18c0ddb760b40f
SHA512: 683a17427a7e292e487e7961a36fe2a4dae217fe8d294422df17fb30a4bfe4a662be0921638a6135a25847376828e758e2443944323f0838ced4b7db88ba6e7b
Homepage: https://github.com/hoelzro/plack-test-anyevent
Description-en: 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.
Description-md5: b192b7a7d36d3e31e76237ca6fb9ba69