Overview

Namespaces

  • Evenement
  • None
  • Peridot
    • Console
    • Core
    • Reporter
    • Runner
    • Scope
    • Test
  • Symfony
    • Component
      • Console
        • Command
        • Descriptor
        • Event
        • Exception
        • Formatter
        • Helper
        • Input
        • Logger
        • Output
        • Question
        • Style
        • Tester
        • Tests
          • Command
          • Descriptor
          • Fixtures
          • Formatter
          • Helper
          • Input
          • Logger
          • Output
          • Style
          • Tester

Classes

  • AbstractBaseReporter
  • AnonymousReporter
  • CompositeReporter
  • ReporterFactory
  • SpecReporter

Interfaces

  • ReporterInterface
  • Overview
  • Namespace
  • Class

Class SpecReporter

The SpecReporter is the default Peridot reporter. It organizes Suite and Test results in a hierarchical manner.

Peridot\Reporter\AbstractBaseReporter implements Peridot\Reporter\ReporterInterface uses Peridot\Core\HasEventEmitterTrait
Extended by Peridot\Reporter\SpecReporter
Namespace: Peridot\Reporter
Package: Peridot\Reporter
Located at Reporter/SpecReporter.php
Methods summary
public
# init( )

Initialize reporter. Setup and listen for runner events

Initialize reporter. Setup and listen for runner events

public
# onRunnerStart( )
public
# onSuiteStart( Peridot\Core\Suite $suite )

Parameters

$suite
public
# onSuiteEnd( )
public
# onTestPassed( Peridot\Core\Test $test )

Parameters

$test
public
# onTestFailed( Peridot\Core\Test $test )

Parameters

$test
public
# onTestPending( Peridot\Core\Test $test )

Parameters

$test
public
# onRunnerEnd( float $time, Peridot\Core\TestResult $result )

Parameters

$time
$result
public string
# indent( )

Returns the current indent for the spec reporter

Returns the current indent for the spec reporter

Returns

string
Methods inherited from Peridot\Reporter\AbstractBaseReporter
__construct(), color(), footer(), getConfiguration(), getOutput(), getTime(), hasColorSupport(), isOnWindows(), outputError(), outputTrace(), registerSymbols(), setTime(), symbol(), warnings()
Methods inherited from Peridot\Reporter\ReporterInterface
getEventEmitter()
Methods used from Peridot\Core\HasEventEmitterTrait
getEventEmitter(), setEventEmitter()
Properties summary
protected integer $column
# 0
protected Peridot\Core\Suite $root
#
Properties inherited from Peridot\Reporter\AbstractBaseReporter
$colors, $configuration, $errors, $output, $passing, $pending, $symbols, $time
Properties used from Peridot\Core\HasEventEmitterTrait
$eventEmitter
Peridot API documentation generated by ApiGen