Skip to content

async-interop/event-loop-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 \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.