Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Libraries

    Test::Unit::TestSuite 0.14

    Download button

    No screenshots available
    Downloads: 357  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Christian Lemburg | More programs
    Perl Artistic License / FREE
    June 14th, 2007, 06:05 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    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.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    unit testing | testing framework | Perl class | Test::Unit::TestSuit | unit | testing

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM