PHP Class mageekguy\atoum\runner

Inheritance: implements mageekguy\atoum\observable
显示文件 Open project: atoum/atoum Class Usage Examples

Protected Properties

Property Type Description
$adapter
$autoloaderFile
$bootstrapFile
$branchesAndPathsCoverage
$codeCoverage
$debugMode
$defaultReportTitle
$disallowUsageOfUndefinedMethodInMock
$extensions
$failIfSkippedMethods
$failIfVoidMethods
$globIteratorFactory
$includer
$locale
$maxChildrenNumber
$observers
$php
$reflectionClassFactory
$reportSet
$reports
$score
$testDirectoryIterator
$testFactory
$testGenerator
$testMethodNumber
$testNumber
$testPaths
$xdebugConfig

Public Methods

Method Description
__construct ( )
acceptTestFileExtensions ( array $testFileExtensions )
addExtension ( mageekguy\atoum\extension $extension, mageekguy\atoum\extension\configuration $configuration = null )
addObserver ( mageekguy\atoum\observer $observer )
addReport ( mageekguy\atoum\report $report )
addTest ( $path )
addTestsFromDirectory ( $directory )
addTestsFromPattern ( $pattern )
allowUndefinedMethodInInterface ( )
allowUsageOfUndefinedMethodInMock ( )
branchesAndPathsCoverageIsEnabled ( )
callObservers ( $event )
canAddTest ( )
canNotAddTest ( )
codeCoverageIsEnabled ( )
debugModeIsEnabled ( )
disableBranchesAndPathsCoverage ( )
disableCodeCoverage ( )
disableDebugMode ( )
disallowUndefinedMethodInInterface ( )
disallowUsageOfUndefinedMethodInMock ( )
doNotfailIfSkippedMethods ( )
doNotfailIfVoidMethods ( )
enableBranchesAndPathsCoverage ( )
enableCodeCoverage ( )
enableDebugMode ( )
failIfSkippedMethods ( )
failIfVoidMethods ( )
getAdapter ( )
getAutoloaderFile ( )
getBootstrapFile ( )
getCoverage ( )
getDeclaredTestClasses ( $testBaseClass = null )
getDefaultReportTitle ( )
getExtension ( $className )
getExtensions ( )
getGlobIteratorFactory ( )
getIncluder ( )
getLocale ( )
getObservers ( )
getPhp ( )
getPhpPath ( )
getReflectionClassFactory ( )
getReports ( )
getRunningDuration ( )
getScore ( )
getTestDirectoryIterator ( )
getTestFactory ( )
getTestGenerator ( )
getTestMethodNumber ( )
getTestMethods ( array $namespaces = [], array $tags = [], array $testMethods = [], $testBaseClass = null )
getTestNumber ( )
getTestPaths ( )
getXdebugConfig ( )
hasReports ( )
isIgnored ( test $test, array $namespaces, array $tags )
removeExtension ( $extension )
removeExtensions ( )
removeObserver ( mageekguy\atoum\observer $observer )
removeReport ( mageekguy\atoum\report $report )
removeReports ( mageekguy\atoum\report $override = null )
resetTestPaths ( )
run ( array $namespaces = [], array $tags = [], array $runTestClasses = [], array $runTestMethods = [], $testBaseClass = null )
setAdapter ( mageekguy\atoum\adapter $adapter = null )
setAutoloaderFile ( $path )
setBootstrapFile ( $path )
setDefaultReportTitle ( $title )
setGlobIteratorFactory ( closure $factory = null )
setIncluder ( includer $includer = null )
setLocale ( mageekguy\atoum\locale $locale = null )
setMaxChildrenNumber ( $number )
setPathAndVersionInScore ( )
setPhp ( mageekguy\atoum\php $php = null )
setPhpPath ( $path )
setReflectionClassFactory ( closure $factory = null )
setReport ( mageekguy\atoum\report $report )
setScore ( mageekguy\atoum\runner\score $score = null )
setTestDirectoryIterator ( factory $iterator = null )
setTestFactory ( $testFactory = null )
setTestGenerator ( mageekguy\atoum\test\generator $generator = null )
setTestPaths ( array $testPaths )
setXdebugConfig ( $value )
shouldFailIfSkippedMethods ( )
shouldFailIfVoidMethods ( )
undefinedMethodInInterfaceAreAllowed ( )
usageOfUndefinedMethodInMockAreAllowed ( )

Protected Methods

Method Description
findTestClasses ( $testBaseClass = null )

Private Methods

Method Description
includeTestPaths ( )

Method Details

__construct() public method

public __construct ( )

acceptTestFileExtensions() public method

public acceptTestFileExtensions ( array $testFileExtensions )
$testFileExtensions array

addExtension() public method

public addExtension ( mageekguy\atoum\extension $extension, mageekguy\atoum\extension\configuration $configuration = null )
$extension mageekguy\atoum\extension
$configuration mageekguy\atoum\extension\configuration

addObserver() public method

public addObserver ( mageekguy\atoum\observer $observer )
$observer mageekguy\atoum\observer

addReport() public method

public addReport ( mageekguy\atoum\report $report )
$report mageekguy\atoum\report

addTest() public method

public addTest ( $path )

addTestsFromDirectory() public method

public addTestsFromDirectory ( $directory )

addTestsFromPattern() public method

public addTestsFromPattern ( $pattern )

allowUndefinedMethodInInterface() public method

allowUsageOfUndefinedMethodInMock() public method

branchesAndPathsCoverageIsEnabled() public method

callObservers() public method

public callObservers ( $event )

canAddTest() public method

public canAddTest ( )

canNotAddTest() public method

public canNotAddTest ( )

codeCoverageIsEnabled() public method

debugModeIsEnabled() public method

public debugModeIsEnabled ( )

disableBranchesAndPathsCoverage() public method

disableCodeCoverage() public method

public disableCodeCoverage ( )

disableDebugMode() public method

public disableDebugMode ( )

disallowUndefinedMethodInInterface() public method

disallowUsageOfUndefinedMethodInMock() public method

doNotfailIfSkippedMethods() public method

doNotfailIfVoidMethods() public method

enableBranchesAndPathsCoverage() public method

enableCodeCoverage() public method

public enableCodeCoverage ( )

enableDebugMode() public method

public enableDebugMode ( )

failIfSkippedMethods() public method

failIfVoidMethods() public method

public failIfVoidMethods ( )

findTestClasses() protected method

protected findTestClasses ( $testBaseClass = null )

getAdapter() public method

public getAdapter ( )

getAutoloaderFile() public method

public getAutoloaderFile ( )

getBootstrapFile() public method

public getBootstrapFile ( )

getCoverage() public method

public getCoverage ( )

getDeclaredTestClasses() public method

public getDeclaredTestClasses ( $testBaseClass = null )

getDefaultReportTitle() public method

getExtension() public method

public getExtension ( $className )

getExtensions() public method

public getExtensions ( )

getGlobIteratorFactory() public method

getIncluder() public method

public getIncluder ( )

getLocale() public method

public getLocale ( )

getObservers() public method

public getObservers ( )

getPhp() public method

public getPhp ( )

getPhpPath() public method

public getPhpPath ( )

getReflectionClassFactory() public method

getReports() public method

public getReports ( )

getRunningDuration() public method

public getRunningDuration ( )

getScore() public method

public getScore ( )

getTestDirectoryIterator() public method

getTestFactory() public method

public getTestFactory ( )

getTestGenerator() public method

public getTestGenerator ( )

getTestMethodNumber() public method

public getTestMethodNumber ( )

getTestMethods() public method

public getTestMethods ( array $namespaces = [], array $tags = [], array $testMethods = [], $testBaseClass = null )
$namespaces array
$tags array
$testMethods array

getTestNumber() public method

public getTestNumber ( )

getTestPaths() public method

public getTestPaths ( )

getXdebugConfig() public method

public getXdebugConfig ( )

hasReports() public method

public hasReports ( )

isIgnored() public static method

public static isIgnored ( test $test, array $namespaces, array $tags )
$test test
$namespaces array
$tags array

removeExtension() public method

public removeExtension ( $extension )

removeExtensions() public method

public removeExtensions ( )

removeObserver() public method

public removeObserver ( mageekguy\atoum\observer $observer )
$observer mageekguy\atoum\observer

removeReport() public method

public removeReport ( mageekguy\atoum\report $report )
$report mageekguy\atoum\report

removeReports() public method

public removeReports ( mageekguy\atoum\report $override = null )
$override mageekguy\atoum\report

resetTestPaths() public method

public resetTestPaths ( )

run() public method

public run ( array $namespaces = [], array $tags = [], array $runTestClasses = [], array $runTestMethods = [], $testBaseClass = null )
$namespaces array
$tags array
$runTestClasses array
$runTestMethods array

setAdapter() public method

public setAdapter ( mageekguy\atoum\adapter $adapter = null )
$adapter mageekguy\atoum\adapter

setAutoloaderFile() public method

public setAutoloaderFile ( $path )

setBootstrapFile() public method

public setBootstrapFile ( $path )

setDefaultReportTitle() public method

public setDefaultReportTitle ( $title )

setGlobIteratorFactory() public method

public setGlobIteratorFactory ( closure $factory = null )
$factory closure

setIncluder() public method

public setIncluder ( includer $includer = null )
$includer includer

setLocale() public method

public setLocale ( mageekguy\atoum\locale $locale = null )
$locale mageekguy\atoum\locale

setMaxChildrenNumber() public method

public setMaxChildrenNumber ( $number )

setPathAndVersionInScore() public method

setPhp() public method

public setPhp ( mageekguy\atoum\php $php = null )
$php mageekguy\atoum\php

setPhpPath() public method

public setPhpPath ( $path )

setReflectionClassFactory() public method

public setReflectionClassFactory ( closure $factory = null )
$factory closure

setReport() public method

public setReport ( mageekguy\atoum\report $report )
$report mageekguy\atoum\report

setScore() public method

public setScore ( mageekguy\atoum\runner\score $score = null )
$score mageekguy\atoum\runner\score

setTestDirectoryIterator() public method

public setTestDirectoryIterator ( factory $iterator = null )
$iterator mageekguy\atoum\iterators\recursives\directory\factory

setTestFactory() public method

public setTestFactory ( $testFactory = null )

setTestGenerator() public method

public setTestGenerator ( mageekguy\atoum\test\generator $generator = null )
$generator mageekguy\atoum\test\generator

setTestPaths() public method

public setTestPaths ( array $testPaths )
$testPaths array

setXdebugConfig() public method

public setXdebugConfig ( $value )

shouldFailIfSkippedMethods() public method

shouldFailIfVoidMethods() public method

undefinedMethodInInterfaceAreAllowed() public method

usageOfUndefinedMethodInMockAreAllowed() public method

Property Details

$adapter protected_oe property

protected $adapter

$autoloaderFile protected_oe property

protected $autoloaderFile

$bootstrapFile protected_oe property

protected $bootstrapFile

$branchesAndPathsCoverage protected_oe property

protected $branchesAndPathsCoverage

$codeCoverage protected_oe property

protected $codeCoverage

$debugMode protected_oe property

protected $debugMode

$defaultReportTitle protected_oe property

protected $defaultReportTitle

$disallowUsageOfUndefinedMethodInMock protected_oe property

protected $disallowUsageOfUndefinedMethodInMock

$extensions protected_oe property

protected $extensions

$failIfSkippedMethods protected_oe property

protected $failIfSkippedMethods

$failIfVoidMethods protected_oe property

protected $failIfVoidMethods

$globIteratorFactory protected_oe property

protected $globIteratorFactory

$includer protected_oe property

protected $includer

$locale protected_oe property

protected $locale

$maxChildrenNumber protected_oe property

protected $maxChildrenNumber

$observers protected_oe property

protected $observers

$php protected_oe property

protected $php

$reflectionClassFactory protected_oe property

protected $reflectionClassFactory

$reportSet protected_oe property

protected $reportSet

$reports protected_oe property

protected $reports

$score protected_oe property

protected $score

$testDirectoryIterator protected_oe property

protected $testDirectoryIterator

$testFactory protected_oe property

protected $testFactory

$testGenerator protected_oe property

protected $testGenerator

$testMethodNumber protected_oe property

protected $testMethodNumber

$testNumber protected_oe property

protected $testNumber

$testPaths protected_oe property

protected $testPaths

$xdebugConfig protected_oe property

protected $xdebugConfig