NAME

Test::Able

VERSION

0.03

SYNOPSIS

package MyTest;

use Moose;
BEGIN { extends qw( Test::Able ); }
use Test::More;

sub foo: Test( 1 ) { ok( 1 ); }

package main;

my $t = MyTest->new;
$t->meta->test_objects( $t );
$t->meta->runtests;

(There are multiple ways, some terser & some more verbose, to accomplish the above example.)

DESCRIPTION

An xUnit style testing framework inspired by Test::Class and built using Moose. It can do all the important things Test::Class can do and more. The prime advantages of using this module instead of Test::Class are flexibility and power. Namely, Moose.

This module was created for a couple of reasons: 1. To address perceived limitations in, and downfalls of, Test::Class. 2. To leverage existing Moose expertise for testing. 3. To bring Moose to the Perl testing game.

The core code and documentation are in Test::Able::Object.

METHODS

run_tests

A convenience method around "run_tests" in Test::Able::Object. Can be called as a class or instance method.

AUTHOR

Justin DeVuyst, justin@devuyst.com

COPYRIGHT AND LICENSE

Copyright 2009 by Justin DeVuyst.

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