PHP Class Tester\TestCase

Afficher le fichier Open project: nette/tester Class Usage Examples

Méthodes publiques

Méthode Description
run ( ) : void Runs the test case.
runTest ( $method, array $args = NULL ) : void Runs the test method.

Méthodes protégées

Méthode Description
getData ( $provider ) : array
setUp ( ) : void This method is called before a test is executed.
tearDown ( ) : void This method is called after a test is executed.

Private Methods

Méthode Description
silentTearDown ( )

Method Details

getData() protected méthode

protected getData ( $provider ) : array
Résultat array

run() public méthode

Runs the test case.
public run ( ) : void
Résultat void

runTest() public méthode

Runs the test method.
public runTest ( $method, array $args = NULL ) : void
$args array
Résultat void

setUp() protected méthode

This method is called before a test is executed.
protected setUp ( ) : void
Résultat void

tearDown() protected méthode

This method is called after a test is executed.
protected tearDown ( ) : void
Résultat void