=head1 TESTING Testing a Minima web application is a straightforward task thanks to L and L. A basic setup looks like this: use HTTP::Request::Common; use Minima::Setup; use Plack::Test; my $app = \&Minima::Setup::init; my $test = Plack::Test->create($app); If you'd prefer to simplify it further, L provides a C method: use HTTP::Request::Common; use Minima::Setup; use Test2::V0; my $test = Minima::Setup::test; my $res = $test->request(GET '/'); is( $res->code, 200, 'returned 200 for root' ); like( $res->content, qr//, 'outputs HTML' ); =head1 SEE ALSO L, L, L. =head1 AUTHOR Cesar Tessarin, . Written in September 2024.