Data-Rx
view release on metacpan or search on metacpan
t/lib/Test/RxTester.pm view on Meta::CPAN
unless $schema->rx;
for my $test_name (sort keys %{ $spec->{test} }) {
my $test_spec = $spec->{test}{$test_name};
my $input = $self->_decode_json("[ $test_spec->{input} ]")->[0];
my $method = @{ $test_spec->{errors} } ? 'assert_fail' : 'assert_pass';
TODO: {
my ($source, $entry) = split m{/}, $test_name, 2;
my $reason = fudge_reason($spec_name, $source, $entry);
local our $TODO = $reason if $reason;
$self->$method({
schema => $schema,
schema_desc => $spec_name,
schema_spec => $spec->{schema},
input => $input,
input_desc => $test_name,
want => $test_spec->{errors},
( run in 1.620 second using v1.01-cache-2.11-cpan-71847e10f99 )