Fr3nch13/CakePHP Utilities

TestSuite

Table of Contents

Classes

LegacyCommandRunner
Class that dispatches to the legacy ShellDispatcher using the same signature as the newer CommandRunner
LegacyShellDispatcher
Allows injecting mock IO into shells
MissingConsoleInputException
Exception class used to indicate missing console input.
StubConsoleInput
Stub class used by the console integration harness.
StubConsoleOutput
StubOutput makes testing shell commands/shell helpers easier.

Traits

ConsoleIntegrationTestTrait
A bundle of methods that makes testing commands and shell classes easier.

        
On this page

Search results