Test::Tester::CaptureRunner

Test::Tester::CaptureRunner is a Perl module that provides help testing test modules built with Test::Builder.
Download

Test::Tester::CaptureRunner Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Fergal Daly
  • Publisher web site:
  • http://search.cpan.org/~fdaly/Test-NoWarnings-0.084/lib/Test/NoWarnings.pm

Test::Tester::CaptureRunner Tags


Test::Tester::CaptureRunner Description

Test::Tester::CaptureRunner is a Perl module that provides help testing test modules built with Test::Builder. Test::Tester::CaptureRunner is a Perl module that provides help testing test modules built with Test::Builder.SYNOPSIS use Test::Tester tests => 6; use Test::MyStyle; check_test( sub { is_mystyle_eq("this", "that", "not eq"); }, { ok => 0, # expect this to fail name => "not eq", diag => "Expected: 'this'nGot: 'that'", } ); or use Test::Tester; use Test::More tests => 3; use Test::MyStyle; my @results = run_tests( sub { is_database_alive("dbname"); }, { ok => 1, # expect the test to pass } ); # now use Test::More::like to check the diagnostic output like($result->{diag}, "/^Database ping took \d+ seconds$"/, "diag");Requirements:· Perl Requirements: · Perl


Test::Tester::CaptureRunner Related Software