PHP Class PhpBench\Tests\Unit\Progress\Logger\DotsLoggerTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: dantleech/phpbench

Public Methods

Method Description
setUp ( )
tearDown ( )
testDoNothingCiIterations ( ) It should do nothing in CI mode at the end of an iteration.
testIteration ( ) It should show a spinner when not in CI mode.
testIterationsEnd ( ) It should reset the line and dump the buffer when NOT in CI mode.
testIterationsEndException ( ) It should log an error.
testIterationsEndRejectionsReturnEarly ( ) It should return early if the rejection count > 0.
testIterationsEndWithCI ( ) It should output a simple . at the end of a subject in CI mode.

Private Methods

Method Description
createLogger ( $ci = false )

Method Details

setUp() public method

public setUp ( )

tearDown() public method

public tearDown ( )

testDoNothingCiIterations() public method

It should do nothing in CI mode at the end of an iteration.

testIteration() public method

It should show a spinner when not in CI mode.
public testIteration ( )

testIterationsEnd() public method

It should reset the line and dump the buffer when NOT in CI mode.
public testIterationsEnd ( )

testIterationsEndException() public method

It should log an error.

testIterationsEndRejectionsReturnEarly() public method

It should return early if the rejection count > 0.

testIterationsEndWithCI() public method

It should output a simple . at the end of a subject in CI mode.