ShellTest
extends TestCase
in package
Table of Contents
- $streams : mixed
- commandsToHas() : mixed
- getExecuteValues() : mixed
- getRenderedExceptions() : mixed
- getReturnValues() : mixed
- tearDown() : mixed
- testAddMatchersViaConfig() : mixed
- testAddMatchersViaConfigAfterShell() : mixed
- testClosuresSupport() : mixed
- testCodeBuffer() : mixed
- testCodeBufferThrowsParseExceptions() : mixed
- testHandlingErrors() : mixed
- testHasCommand() : mixed
- testIncludes() : mixed
- testIncludesConfig() : mixed
- testIncludesWithScopeVariables() : mixed
- testKeepCodeBufferOpen() : mixed
- testNotHandlingErrors() : mixed
- testRenderingExceptions() : mixed
- testScopeVariables() : mixed
- testShellExecute() : mixed
- testUnknownScopeVariablesThrowExceptions() : mixed
- testVersion() : mixed
- testWriteException() : mixed
- testWriteReturnValue() : mixed
- testWriteStdout() : mixed
- testWriteStdoutWithoutNewline() : mixed
- getConfig() : mixed
- getOutput() : mixed
Properties
$streams
private
mixed
$streams
= []
Methods
commandsToHas()
public
commandsToHas() : mixed
Return values
mixed —getExecuteValues()
public
getExecuteValues() : mixed
Return values
mixed —getRenderedExceptions()
public
getRenderedExceptions() : mixed
Return values
mixed —getReturnValues()
public
getReturnValues() : mixed
Return values
mixed —tearDown()
public
tearDown() : mixed
Return values
mixed —testAddMatchersViaConfig()
public
testAddMatchersViaConfig() : mixed
Return values
mixed —testAddMatchersViaConfigAfterShell()
public
testAddMatchersViaConfigAfterShell() : mixed
Return values
mixed —testClosuresSupport()
public
testClosuresSupport() : mixed
Return values
mixed —testCodeBuffer()
public
testCodeBuffer() : mixed
Return values
mixed —testCodeBufferThrowsParseExceptions()
public
testCodeBufferThrowsParseExceptions() : mixed
Tags
Return values
mixed —testHandlingErrors()
public
testHandlingErrors() : mixed
Return values
mixed —testHasCommand()
public
testHasCommand(mixed $command, mixed $has) : mixed
Parameters
- $command : mixed
- $has : mixed
Tags
Return values
mixed —testIncludes()
public
testIncludes() : mixed
Return values
mixed —testIncludesConfig()
public
testIncludesConfig() : mixed
Return values
mixed —testIncludesWithScopeVariables()
public
testIncludesWithScopeVariables() : mixed
Return values
mixed —testKeepCodeBufferOpen()
public
testKeepCodeBufferOpen() : mixed
Return values
mixed —testNotHandlingErrors()
public
testNotHandlingErrors() : mixed
Tags
Return values
mixed —testRenderingExceptions()
public
testRenderingExceptions() : mixed
Return values
mixed —testScopeVariables()
public
testScopeVariables() : mixed
Return values
mixed —testShellExecute()
public
testShellExecute(mixed $input, mixed $expected) : mixed
Parameters
- $input : mixed
- $expected : mixed
Tags
Return values
mixed —testUnknownScopeVariablesThrowExceptions()
public
testUnknownScopeVariablesThrowExceptions() : mixed
Tags
Return values
mixed —testVersion()
public
testVersion() : mixed
Return values
mixed —testWriteException()
public
testWriteException(mixed $exception, mixed $expected) : mixed
Parameters
- $exception : mixed
- $expected : mixed
Tags
Return values
mixed —testWriteReturnValue()
public
testWriteReturnValue(mixed $input, mixed $expected) : mixed
Parameters
- $input : mixed
- $expected : mixed
Tags
Return values
mixed —testWriteStdout()
public
testWriteStdout() : mixed
Return values
mixed —testWriteStdoutWithoutNewline()
public
testWriteStdoutWithoutNewline() : mixed
Return values
mixed —getConfig()
private
getConfig([array<string|int, mixed> $config = [] ]) : mixed
Parameters
- $config : array<string|int, mixed> = []
Return values
mixed —getOutput()
private
getOutput() : mixed