mirror of
https://github.com/danog/amp.git
synced 2024-11-27 04:24:42 +01:00
e5c4c612f8
The behavior of repeat with a 0 timeout is unpredictable in various loop implementations. |
||
---|---|---|
src | ||
.gitignore | ||
composer.json | ||
LICENSE | ||
README.md |
Event Loop Tests
This package provides a quite extensive phpunit test suite to be used against Loop\Driver
implementations from the async-interop/event-loop package.
Usage
class MyDriverTest extends \Interop\Async\Loop\Test {
function getFactory() {
return new MyDriverFactory;
}
}
That's it. Put it in your tests folder with an appropriate phpunit setup and run it.