Test::Flatten

Subtest output to a flatten
Download

Test::Flatten Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Yuji Shimada
  • Publisher web site:
  • http://search.cpan.org/~xaicron/

Test::Flatten Tags


Test::Flatten Description

Test::Flatten is an override of the Test::More::subtest module.SYNOPSISin t/foo.t use Test::More; use Test::Flatten; subtest 'foo' => sub { pass 'OK'; }; subtest 'bar' => sub { pass 'ok'; subtest 'baz' => sub { pass 'ok'; }; }; done_testing;run it $ prove -lvc t/foo.t t/foo.t .. # ------------------------------------------------------------------------------ # foo # ------------------------------------------------------------------------------ ok 1 - ok # ------------------------------------------------------------------------------ # bar # ------------------------------------------------------------------------------ ok 2 - ok # ------------------------------------------------------------------------------ # baz # ------------------------------------------------------------------------------ ok 3 - ok 1..3 okoh, flatten!Product's homepage


Test::Flatten Related Software