PHP Class spec\PhpSpec\Formatter\ProgressFormatterSpec

Inheritance: extends PhpSpec\ObjectBehavior
Show file Open project: phpspec/phpspec

Public Methods

Method Description
it_is_an_event_subscriber ( )
it_outputs_progress_as_0_when_0_examples_have_passed ( ExampleEvent $event, ConsoleIO $io, PhpSpec\Listener\StatisticsCollector $stats )
it_outputs_progress_as_0_when_0_examples_have_run ( ExampleEvent $event, ConsoleIO $io, PhpSpec\Listener\StatisticsCollector $stats )
it_outputs_progress_as_100_when_1_of_3_examples_have_passed ( ExampleEvent $event, ConsoleIO $io, PhpSpec\Listener\StatisticsCollector $stats )
it_outputs_progress_as_33_when_3_of_3_examples_have_run_and_one_passed ( ExampleEvent $event, ConsoleIO $io, PhpSpec\Listener\StatisticsCollector $stats )
let ( PhpSpec\Formatter\Presenter\Presenter $presenter, ConsoleIO $io, PhpSpec\Listener\StatisticsCollector $stats )

Method Details

it_is_an_event_subscriber() public method

it_outputs_progress_as_0_when_0_examples_have_passed() public method

public it_outputs_progress_as_0_when_0_examples_have_passed ( ExampleEvent $event, ConsoleIO $io, PhpSpec\Listener\StatisticsCollector $stats )
$event PhpSpec\Event\ExampleEvent
$io PhpSpec\Console\ConsoleIO
$stats PhpSpec\Listener\StatisticsCollector

it_outputs_progress_as_0_when_0_examples_have_run() public method

public it_outputs_progress_as_0_when_0_examples_have_run ( ExampleEvent $event, ConsoleIO $io, PhpSpec\Listener\StatisticsCollector $stats )
$event PhpSpec\Event\ExampleEvent
$io PhpSpec\Console\ConsoleIO
$stats PhpSpec\Listener\StatisticsCollector

it_outputs_progress_as_100_when_1_of_3_examples_have_passed() public method

public it_outputs_progress_as_100_when_1_of_3_examples_have_passed ( ExampleEvent $event, ConsoleIO $io, PhpSpec\Listener\StatisticsCollector $stats )
$event PhpSpec\Event\ExampleEvent
$io PhpSpec\Console\ConsoleIO
$stats PhpSpec\Listener\StatisticsCollector

it_outputs_progress_as_33_when_3_of_3_examples_have_run_and_one_passed() public method

public it_outputs_progress_as_33_when_3_of_3_examples_have_run_and_one_passed ( ExampleEvent $event, ConsoleIO $io, PhpSpec\Listener\StatisticsCollector $stats )
$event PhpSpec\Event\ExampleEvent
$io PhpSpec\Console\ConsoleIO
$stats PhpSpec\Listener\StatisticsCollector

let() public method

public let ( PhpSpec\Formatter\Presenter\Presenter $presenter, ConsoleIO $io, PhpSpec\Listener\StatisticsCollector $stats )
$presenter PhpSpec\Formatter\Presenter\Presenter
$io PhpSpec\Console\ConsoleIO
$stats PhpSpec\Listener\StatisticsCollector