1Test::Unit::Runner::TerUmsienralC(o3n)tributed Perl DocuTmeesntt:a:tUinoint::Runner::Terminal(3)
2
3
4
6 Test::Unit::Runner::Terminal - unit testing framework helper class
7
9 use Test::Unit::Runner::Terminal;
10
11 my $testrunner = Test::Unit::Runner::Terminal->new();
12 $testrunner->start($my_test_class);
13
15 This class is a test runner for the command line style use of the
16 testing framework.
17
18 It is similar to its parent class, Test::Unit::TestRunner, but it uses
19 terminal escape sequences to continually update a more informative
20 status report as the runner progresses through the tests than just a
21 string of dots, E's and F's. The status report indicates the number of
22 tests run, the number of failures and errors encountered, which test is
23 currently being run, and where it lives in the suite hierarchy.
24
25 The class needs one argument, which is the name of the class
26 encapsulating the tests to be run.
27
29 -wait
30 wait for user confirmation between tests
31
32 -v version info
33
35 Copyright (c) 2000-2002, 2005 the PerlUnit Development Team (see
36 Test::Unit or the AUTHORS file included in this distribution).
37
38 All rights reserved. This program is free software; you can
39 redistribute it and/or modify it under the same terms as Perl itself.
40
42 · Test::Unit::TestCase
43
44 · Test::Unit::Listener
45
46 · Test::Unit::TestSuite
47
48 · Test::Unit::Result
49
50 · Test::Unit::TkTestRunner
51
52 · For further examples, take a look at the framework self test
53 collection (t::tlib::AllTests).
54
55
56
57perl v5.28.0 2005-08-01 Test::Unit::Runner::Terminal(3)