Scroll to navigation

Test::Unit::TestRunner(3pm) User Contributed Perl Documentation Test::Unit::TestRunner(3pm)

NAME

Test::Unit::TestRunner - unit testing framework helper class

SYNOPSIS

    use Test::Unit::TestRunner;
    my $testrunner = Test::Unit::TestRunner->new();
    $testrunner->start($my_test_class);

DESCRIPTION

This class is the test runner for the command line style use of the testing framework.

It is used by simple command line tools like the TestRunner.pl script provided.

The class needs one argument, which is the name of the class encapsulating the tests to be run.

OPTIONS

wait for user confirmation between tests
version info

AUTHOR

Copyright (c) 2000-2002, 2005 the PerlUnit Development Team (see Test::Unit or the AUTHORS file included in this distribution).

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

SEE ALSO

  • Test::Unit::TestCase
  • Test::Unit::Listener
  • Test::Unit::TestSuite
  • Test::Unit::Result
  • Test::Unit::TkTestRunner
  • For further examples, take a look at the framework self test collection (t::tlib::AllTests).
2024-07-27 perl v5.38.2