PHP Класс Pulsestorm\Pestle\TestsIntegration\PestleTestIntegration

Наследование: extends PHPUnit_Framework_TestCas\PHPUnit_Framework_TestCase
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$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