PHP 클래스 Tester\TestCase

파일 보기 프로젝트 열기: nette/tester 1 사용 예제들

공개 메소드들

메소드 설명
run ( ) : void Runs the test case.
runTest ( $method, array $args = NULL ) : void Runs the test method.

보호된 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
silentTearDown ( )

메소드 상세

getData() 보호된 메소드

protected getData ( $provider ) : array
리턴 array

run() 공개 메소드

Runs the test case.
public run ( ) : void
리턴 void

runTest() 공개 메소드

Runs the test method.
public runTest ( $method, array $args = NULL ) : void
$args array
리턴 void

setUp() 보호된 메소드

This method is called before a test is executed.
protected setUp ( ) : void
리턴 void

tearDown() 보호된 메소드

This method is called after a test is executed.
protected tearDown ( ) : void
리턴 void