async-interop / event-loop-test
An abstract test file to ensure compatibility between event-loop implementations.
Installs: 1 924
Dependents: 2
Suggesters: 0
Security: 0
Stars: 6
Watchers: 4
Forks: 0
Open Issues: 0
Requires
- php: >=5.5.0
- async-interop/event-loop: ^0.5
- phpunit/phpunit: ^4|^5
This package is not auto-updated.
Last update: 2024-12-21 20:52:10 UTC
README
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 \AsyncInterop\Loop\Test { function getFactory() { return new MyDriverFactory; } }
That's it. Put it in your tests folder with an appropriate phpunit setup and run it.