DOKK / manpages / debian 12 / libtest-unit-perl / Test::Unit::TestRunner.3pm.en
Test::Unit::TestRunner(3pm) User Contributed Perl Documentation Test::Unit::TestRunner(3pm)

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

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

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.

wait for user confirmation between tests
version info

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.

  • 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).
2022-11-19 perl v5.36.0