PHP Class Kahlan\Reporter\Dot

Inheritance: extends Kahlan\Reporter\Terminal
Mostrar archivo Open project: crysalead/kahlan

Protected Properties

Property Type Description
$_columns integer The max number of columns.
$_counter integer Store the current number of dots.
$_dotWidth integer The dot area with.

Public Methods

Method Description
__construct ( array $config = [] ) Constructor
end ( object $summary ) Callback called at the end of specs processing.
specEnd ( object $log = null ) Callback called after a spec execution.
start ( array $args ) Callback called before any specs processing.

Protected Methods

Method Description
_write ( string $string, array | string $options = null ) Outputs the string message in the console.

Method Details

__construct() public method

Constructor
public __construct ( array $config = [] )
$config array The config array. Possible options are: -`'columns'`: the max columns width for dot area.

_write() protected method

Outputs the string message in the console.
protected _write ( string $string, array | string $options = null )
$string string The string message.
$options array | string The color options.

end() public method

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

specEnd() public method

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

start() public method

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

Property Details

$_columns protected_oe property

The max number of columns.
protected int $_columns
return integer

$_counter protected_oe property

Store the current number of dots.
protected int $_counter
return integer

$_dotWidth protected_oe property

The dot area with.
protected int $_dotWidth
return integer