- or download this
subtest 'test name' => sub { my_subtest($xml, @other_args) };
- or download this
#!/usr/bin/env perl
...
fail('No tests indicated');
}
}
- or download this
$ pm_test_more_subtest.pl
1..9
...
ok 8 - xml_subtest($xml, {test_content => 1})
ok 9 - POST subtest
# Looks like you failed 4 tests of 9.