WACT_TESTS
[ class tree: WACT_TESTS ] [ index: WACT_TESTS ] [ all elements ]

Class: CLIReporter

Source Location: /tests/lib/cli_reporter.php

Class Overview

TestDisplay
   |
   --CLIReporter

Minimal command line test displayer. Writes fail details to STDERR.

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

Minimal command line test displayer. Writes fail details to STDERR.

Returns 0 to the shell if all tests pass, ST_FAILS_RETURN_CODE if any test fails.


Class Variables


$faildetail_separator = ST_FAILDETAIL_SEPARATOR

Type:   mixed

Class Methods


constructor CLIReporter



CLIReporter CLIReporter( [mixed $faildetail_separator = NULL])

method paintException

Paint exception faildetail to STDERR.

void paintException( mixed $message)

method paintFail

Paint fail faildetail to STDERR.

void paintFail( mixed $message)

method paintFooter

Paint a footer with test case name, timestamp, counts of fails and exceptions.

void paintFooter( mixed $test_name)

method setFailDetailSeparator



void setFailDetailSeparator( mixed $separator)

method _paintTestFailDetail

Return a formatted faildetail for printing.

void &_paintTestFailDetail( mixed &$message)
WACT: Copyright 2003 Procata, Inc. Released under the LGPL license (http://www.gnu.org/copyleft/lesser.html)
Documentation generated on Sun, 28 Nov 2004 19:44:27 -0800 by phpDocumentor 1.2.3