Test::TesterTest::Tester contains ease testing test modules built with Test::Builder. | |
Download |
Test::Tester Ranking & Summary
Advertisement
- 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 Tags
Test::Tester Description
Test::Tester contains ease testing test modules built with Test::Builder. Test::Tester contains ease 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
Test::Tester Related Software