1Test::Unit::Runner(3) User Contributed Perl DocumentationTest::Unit::Runner(3)
2
3
4
6 Test::Unit::Runner - abstract base class for test runners
7
9 my $runner = Test::Unit::TestRunner->new();
10 $runner->filter(@filter_tokens);
11 $runner->start(...);
12
14 This class is a parent class of all test runners, and hence is not
15 intended to be used directly. It provides functionality such as state
16 (e.g. run-time options) available to all runner classes.
17
18 suites_running()
19 Returns an array stack of the current suites running. When a new suite
20 is started, it is pushed on the stack, and it is popped on completion.
21 Hence the first element in the returned array is the top-level suite,
22 and the last is the innermost suite.
23
24 filter([ @tokens ])
25 Set the runner's filter tokens to the given list.
26
27 reset_filter()
28 Clears the current filter.
29
31 Copyright (c) 2000-2002, 2005 the PerlUnit Development Team (see
32 Test::Unit or the AUTHORS file included in this distribution).
33
34 All rights reserved. This program is free software; you can
35 redistribute it and/or modify it under the same terms as Perl itself.
36
38 Test::Unit::HarnessUnit, Test::Unit::TestRunner,
39 Test::Unit::TkTestRunner
40
41
42
43perl v5.28.0 2005-08-01 Test::Unit::Runner(3)