Registry / testing / rspec-eventmachine

rspec-eventmachine

JSON →
library0.2.0rbrubygemsunverified

RSpec extensions for testing EventMachine code, providing helpers for asynchronous specs.

gem install rspec-eventmachine
INSTALL
IMPORT
SIG · RSPEC-EVENTMACHINE
R
rspec-eventmachine
testingrubyv0.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

RSpecEventmachine
require 'rspec-eventmachine'

Write an RSpec test for EventMachine code

require 'rspec-eventmachine' describe 'My EM code' do include EventMachine::Test it 'runs a reactor' do em do EM.add_timer(0.1) { done } end end end
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
rspec-eventmachine — gem install rspec-eventmachine · libregistry