Test::Unit::TestSuiteTest::Unit::TestSuite is a unit testing framework base class. | |
Download |
Test::Unit::TestSuite Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Christian Lemburg
- Publisher web site:
- http://search.cpan.org/~clemburg/Test-Unit-0.14/lib/Test/Unit/tests/AllTests.pm
Test::Unit::TestSuite Tags
Test::Unit::TestSuite Description
Test::Unit::TestSuite is a unit testing framework base class. Test::Unit::TestSuite is a unit testing framework base class.SYNOPSIS use Test::Unit::TestSuite; # more code here ... sub suite { my $class = shift; # create an empty suite my $suite = Test::Unit::TestSuite->empty_new("A Test Suite"); # get and add an existing suite $suite->add_test(Test::Unit::TestSuite->new("MyModule::Suite_1")); # extract suite by way of suite method and add $suite->add_test(MyModule::Suite_2->suite()); # get and add another existing suite $suite->add_test(Test::Unit::TestSuite->new("MyModule::TestCase_2")); # return the suite built return $suite; }This class is normally not used directly, but it can be used for creating your own custom built aggregate suites.Normally, this class just provides the functionality of auto-building a test suite by extracting methods with a name prefix of test from a given package to the test runners. Requirements: · Perl
Test::Unit::TestSuite Related Software