phpspec
A behavior-driven development tool for PHP. tldr-pages
On several platforms
Several platforms
Create a specification for a class
phpspec describe class_nameIdentifyRun all specifications in the "spec" directory
phpspec runIdentifyRun a single specification
phpspec run path/to/class_specification_fileIdentifyRun specifications using a specific configuration file
phpspec run --config path/to/configuration_fileIdentifyRun specifications using a specific bootstrap file
phpspec run --bootstrap path/to/bootstrap_fileIdentifyDisable code generation prompts
phpspec run --no-code-generationIdentifyEnable fake return values
phpspec run --fakeIdentify