PHP 클래스 Pulsestorm\Pestle\TestsIntegration\PestleTestIntegration

상속: extends PHPUnit_Framework_TestCas\PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: astorm/pestle

보호된 프로퍼티들

프로퍼티 타입 설명
$packageName
$packageNames string[]
$removeApp

공개 메소드들

메소드 설명
testDiXmlExists ( ) Check the di.xml exists, if it does not then something is wrong with the install.
testPestleIsAvailable ( ) Check the pestle command is available in the current environment.

보호된 메소드들

메소드 설명
createFakeMagentoInstance ( ) Create app/etc/di.xml so pestle.phar can work.
deleteDirectoryTree ( $directory ) : boolean Delete a directory tree: http://php.net/manual/en/function.rmdir.php
getPestlePackage ( ) : string | boolean Get the correct pestle package name from the users system.
isPackageAvailable ( $package ) : boolean Check if a package is available.
runCommand ( $cmd = false ) : mixed Run a command from users pestle implementation.
setUp ( ) Setup the integration tests.
tearDown ( ) Tear down the integration tests.

메소드 상세

createFakeMagentoInstance() 보호된 메소드

Create app/etc/di.xml so pestle.phar can work.

deleteDirectoryTree() 보호된 메소드

Delete a directory tree: http://php.net/manual/en/function.rmdir.php
protected deleteDirectoryTree ( $directory ) : boolean
$directory
리턴 boolean

getPestlePackage() 보호된 메소드

Get the correct pestle package name from the users system.
protected getPestlePackage ( ) : string | boolean
리턴 string | boolean

isPackageAvailable() 보호된 메소드

Check if a package is available.
protected isPackageAvailable ( $package ) : boolean
$package
리턴 boolean

runCommand() 보호된 메소드

Run a command from users pestle implementation.
protected runCommand ( $cmd = false ) : mixed
$cmd
리턴 mixed

setUp() 보호된 메소드

Setup the integration tests.
protected setUp ( )

tearDown() 보호된 메소드

Tear down the integration tests.
protected tearDown ( )

testDiXmlExists() 공개 메소드

Check the di.xml exists, if it does not then something is wrong with the install.
public testDiXmlExists ( )

testPestleIsAvailable() 공개 메소드

Check the pestle command is available in the current environment.

프로퍼티 상세

$packageName 보호되어 있는 프로퍼티

protected $packageName

$packageNames 보호되어 있는 프로퍼티

protected string[] $packageNames
리턴 string[]

$removeApp 보호되어 있는 프로퍼티

protected $removeApp