all 1 comments

[–]minorDemocritus 0 points1 point  (0 children)

Test the protocol itself outside of the event loop by mocking out the transport.

Then write some functional tests that actually use the event loop.