Skip to content

taskphp/phpspec

Repository files navigation

task/phpspec

Build Status Coverage Status

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages