blueshoes php application framework and cms            core_lang
[ class tree: core_lang ] [ index: core_lang ] [ all elements ]

Class: Bs_TextTestResult

Source Location: /core/lang/phpunit/Bs_TextTestResult.class.php

Class Overview

Bs_Object
   |
   --Bs_TestResult
      |
      --Bs_TextTestResult

Specialize TestResult to produce text/html report.


Author(s):

Version:

  • 4.3.$Revision: 1.2 $ $Date: 2003/08/09 15:17:48 $

Copyright:

  • blueshoes.org

Methods


Inherited Variables

Inherited Methods

Class: Bs_TestResult

Bs_TestResult::Bs_TestResult()
Constructor.
Bs_TestResult::countFailures()
Return the number of failures that occured.
Bs_TestResult::countTests()
Return the number of tests that were made/have to be made (don't know yet)
Bs_TestResult::getFailures()
Returns an array holding instances of Bs_TestFailure.
Bs_TestResult::run()
Run a single TestCase in the context of this TestResult
Bs_TestResult::shouldStop()
Tells whether the sequence should halt or not.
Bs_TestResult::stop()
Set indication that the test sequence should halt.
Bs_TestResult::_endTest()
Bs_TestResult::_startTest()

Class: Bs_Object

Bs_Object::Bs_Object()
Bs_Object::getErrors()
Basic error handling: Get *all* errors as string array from the global Bs_Error-error stack.
Bs_Object::getLastError()
Basic error handling: Get last error string from the global Bs_Error-error stack.
Bs_Object::getLastErrors()
Basic error handling: Get last errors string array from the global Bs_Error-error stack sinc last call of getLastErrors().
Bs_Object::persist()
Persists this object by serializing it and saving it to a file with unique name.
Bs_Object::setError()
Basic error handling: Push an error string on the global Bs_Error-error stack.
Bs_Object::toHtml()
Dumps the content of this object to a string using PHP's var_dump().
Bs_Object::toString()
Dumps the content of this object to a string using PHP's var_dump().
Bs_Object::unpersist()
Fetches an object that was persisted with persist()

Class Details

[line 16]
Specialize TestResult to produce text/html report.

PHP framework for testing, based on the version from the design of "JUnit".




Tags:

copyright:  blueshoes.org
pattern:  singleton: (pseudostatic)
access:  public
version:  4.3.$Revision: 1.2 $ $Date: 2003/08/09 15:17:48 $
author:  andrej arn <at blueshoes dot org>


[ Top ]


Class Methods


constructor Bs_TextTestResult [line 22]

void Bs_TextTestResult( )

Constructor.



[ Top ]

method report [line 30]

void report( )

report result of test run



[ Top ]

method _endTest [line 59]

void _endTest( mixed $test)



Overrides Bs_TestResult::_endTest() (parent method not documented)

[ Top ]

method _startTest [line 53]

void _startTest( mixed $test)



Overrides Bs_TestResult::_startTest() (parent method not documented)

[ Top ]


Documentation generated on Mon, 29 Dec 2003 21:13:08 +0100 by phpDocumentor 1.2.3