PHP 클래스 Kahlan\Reporter\Reporter

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

보호된 프로퍼티들

프로퍼티 타입 설명
$_current integer Current position.
$_start float Starting time.
$_total integer Total of items to reach.

공개 메소드들

메소드 설명
__construct ( array $config = [] ) The Constructor.
end ( object $summary ) Callback called at the end of specs processing.
failed ( object $log = null ) Callback called on failure.
passed ( object $log = null ) Callback called on successful expect.
specEnd ( object $log = null ) Callback called after a spec execution.
specStart ( object $spec = null ) Callback called on a spec start.
start ( array $args ) Callback called before any specs processing.
stop ( object $summary ) Callback called at the end of the process.
suiteEnd ( object $suite = null ) Callback called after a suite execution.
suiteStart ( object $suite = null ) Callback called on a suite start.

메소드 상세

__construct() 공개 메소드

The Constructor.
public __construct ( array $config = [] )
$config array The config array. Possible values are: - `'start' _integer_: A microtime value.

end() 공개 메소드

Callback called at the end of specs processing.
public end ( object $summary )
$summary object The execution summary instance.

failed() 공개 메소드

Callback called on failure.
public failed ( object $log = null )
$log object An expect log object.

passed() 공개 메소드

Callback called on successful expect.
public passed ( object $log = null )
$log object An expect log object.

specEnd() 공개 메소드

Callback called after a spec execution.
public specEnd ( object $log = null )
$log object The log object of the whole spec.

specStart() 공개 메소드

Callback called on a spec start.
public specStart ( object $spec = null )
$spec object The spec object of the whole spec.

start() 공개 메소드

Callback called before any specs processing.
public start ( array $args )
$args array The suite arguments.

stop() 공개 메소드

Callback called at the end of the process.
public stop ( object $summary )
$summary object The execution summary instance.

suiteEnd() 공개 메소드

Callback called after a suite execution.
public suiteEnd ( object $suite = null )
$suite object The suite instance.

suiteStart() 공개 메소드

Callback called on a suite start.
public suiteStart ( object $suite = null )
$suite object The suite instance.

프로퍼티 상세

$_current 보호되어 있는 프로퍼티

Current position.
protected int $_current
리턴 integer

$_start 보호되어 있는 프로퍼티

Starting time.
protected float $_start
리턴 float

$_total 보호되어 있는 프로퍼티

Total of items to reach.
protected int $_total
리턴 integer