task / phpspec
PhpSpec plugin for Task
v0.1.1
2014-12-19 07:28 UTC
Requires
- phpspec/phpspec: ~2.1
- task/console: ~0.1
Requires (Dev)
- henrikbjorn/phpspec-code-coverage: 1.0.*@dev
- satooshi/php-coveralls: ~0.6
- task/task: ~0.1
This package is not auto-updated.
Last update: 2025-01-18 16:54:42 UTC
README
Example
use Task\Plugin\PhpSpecPlugin; $project->inject(function ($container) { $container['phpspec'] = new PhpSpecPlugin; }); $project->addTask('test', ['phpspec', function ($phpspec) { $phpspec->command('run') ->setConfig($this->getProperty('config', 'phpspec.yml')) ->setFormat('pretty') ->pipe($this->getOutput()); }]);
Installation
Add to your composer.json
:
... "require-dev": { "task/phpspec": "~0.1" } ...
Usage
See task/console for usage documentation.