File/ext/utf8/tests/cli_reporter.php

Description
Classes
Class Description
 class CLIReporter 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.
Constants
STDERR = fopen('php://stderr','w') (line 19)
STDOUT = fopen('php://stdout','w') (line 18)
ST_FAILDETAIL_SEPARATOR = "->" (line 9)

Swiped from the WACT test suite

  • author: Jon Bangoid
  • version: $Id: cli_reporter.php,v 1.1 2007/09/09 20:39:50 pitlinz Exp $
  • see: http://www.phpwact.org
ST_FAILS_RETURN_CODE = 1 (line 13)

Documentation generated on Thu, 08 Jan 2009 17:38:13 +0100 by phpDocumentor 1.4.0a2