Testing Perl test modules - Test::Test::More
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
lib/Test/Test
t/test
.travis.yml
Makefile
README.pod
carton.lock

README.pod

NAME

Test::Test::More - Test Test::More-based test subroutines

SYNOPSIS

use Test::Test::More;

test_ok_ok {
  ok 1;
}; # ok

test_ok_ok {
  ok 0;
}; # not ok

test_ng_ok {
  ok 1;
}; # not ok

test_ng_ok {
  ok 0;
}; # ok

DESCRIPTION

The Test::Test::More module provides subroutines for testing of Test::More-based test modules such as test_ok_ok and test_ng_ok.

USAGE

test_ok_ok { CODE } [NAME];

It passes iff the execution of CODE results in a test passed using one of Test::More subroutines.

test_ng_ok { CODE } [NAME];

It passes iff the execution of CODE results in a test failed using one of Test::More subroutines.

failure_output_like { CODE } REGEXP [NAME];

It passes iff the execution of CODE gets failure output looks like REGEXP.

DEVELOPMENT

Latest version of the module is available from the Git repository: <https://github.com/wakaba/perl-test-test>.

Thanks to Travis CI, test results can be reviewed at: <http://travis-ci.org/wakaba/perl-test-test>.

HISTORY

1.0 (2010-08-05)

First version.

AUTHOR

Wakaba (id:wakabatan) <wakabatan@hatena.ne.jp>

LICENSE

Copyright 2010 Hatena <http://www.hatena.ne.jp/>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.