recoil/peridot

This package is abandoned and no longer maintained. No replacement package was suggested.

A Peridot extension that executes tests as Recoil coroutines

0.2.1 2016-07-29 03:50 UTC

This package is auto-updated.

Last update: 2019-05-28 03:13:32 UTC


README

Build Status Code Coverage Latest Version

A Peridot extension that executes tests as Recoil coroutines.

composer require --sort-packages --dev recoil/peridot

Usage

Simply return a new instance of Recoil\Peridot\RecoilTestExecutor in your Peridot configuration file.

use Recoil\Peridot\RecoilTestExecutor;

require __DIR__ . '/../vendor/autoload.php';

return new RecoilTestExecutor();

You can then use PHP generators as coroutines in your beforeEach, afterEach and test functions.

Building and testing

Please see CONTRIBUTING.md for information about running the tests and submitting changes.