Class TestResult
TestResults tracks passing, pending, and failing tests.
- Peridot\Core\TestResult uses Peridot\Core\HasEventEmitterTrait
public
|
|
public
string
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
integer
|
|
public
|
|
public
integer
|
|
public
|
|
public
integer
|
|
public
|
#
setPendingCount( integer $pendingCount )
Set the number of pending tests tracked by this test result. |
public
boolean
|
|
public
|
#
setIsFocusedByDsl( boolean $isFocusedByDsl )
Mark this result as having focused specs configured via DSL functions |
getEventEmitter(),
setEventEmitter()
|
protected
integer
|
$testCount
Tracks total tests run against this result |
#
0
|
protected
integer
|
$failureCount
Tracks total number of failed tests run against this result |
#
0
|
protected
integer
|
$pendingCount
Tracks total number of pending tests run against this result |
#
0
|
protected
boolean
|
$isFocusedByDsl
True if focused specs were configured via DSL functions |
#
false
|
$eventEmitter
|