CGI-Lingua

 view release on metacpan or  search on metacpan

t/edge_cases.t  view on Meta::CPAN

#
# Strategy: every subtest actively tries to break, inject, overflow, or
# subvert the module.  Inputs are chosen specifically to probe the validation
# and sanitisation layer rather than the happy path.

use strict;
use warnings;

use CHI;
use Readonly;
use Scalar::Util qw(blessed weaken);
use Test::Most;
use Test::Mockingbird;
use Test::Returns qw(returns_ok);

use lib 't/lib';

BEGIN { use_ok('CGI::Lingua') }

# Pre-require lazily-loaded modules before installing mocks
my $HAS_LWP  = eval { require LWP::Simple::WithCache; 1 } ? 1 : 0;



( run in 1.810 second using v1.01-cache-2.11-cpan-6fb7bf0f510 )