Adam Spiers > Test-Unit-0.24 > Test::Unit::Runner::Terminal

Download:
Test-Unit-0.24.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  4
Open  5
View/Report Bugs
Source   Latest Release: Test-Unit-0.25_1325

NAME ^

Test::Unit::Runner::Terminal - unit testing framework helper class

SYNOPSIS ^

    use Test::Unit::Runner::Terminal;

    my $testrunner = Test::Unit::Runner::Terminal->new();
    $testrunner->start($my_test_class);

DESCRIPTION ^

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

It is similar to its parent class, Test::Unit::TestRunner, but it uses terminal escape sequences to continually update a more informative status report as the runner progresses through the tests than just a string of dots, E's and F's. The status report indicates the number of tests run, the number of failures and errors encountered, which test is currently being run, and where it lives in the suite hierarchy.

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

OPTIONS ^

-wait

wait for user confirmation between tests

-v

version info

AUTHOR ^

Framework JUnit authored by Kent Beck and Erich Gamma.

Ported from Java to Perl by Christian Lemburg.

Copyright (c) 2000 Christian Lemburg, <lemburg@acm.org>.

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

Thanks go to the other PerlUnit framework people: Brian Ewins, Cayte Lindner, J.E. Fritz, Zhon Johansen.

SEE ALSO ^

syntax highlighting: