async-interop/event-loop-test

An abstract test file to ensure compatibility between event-loop implementations.

Maintainers

👁 Trowski

Package info

github.com/async-interop/event-loop-test

pkg:composer/async-interop/event-loop-test

Statistics

Installs: 1 948

Dependents: 2

Suggesters: 0

Stars: 6

Open Issues: 0

v0.5.1 2017-01-08 16:56 UTC

Requires

Requires (Dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT 5aeff2c7d2800a3bb1f2ca09ded460d104e81eab

eventtestasyncloopinterop

This package is not auto-updated.

Last update: 2026-06-21 05:20:14 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.