Registry / testing / em-spec

em-spec

JSON →
library0.2.7rbrubygemsunverified

Provides a simple BDD API for testing asynchronous Ruby code using EventMachine.

gem install em-spec
INSTALL
IMPORT
SIG · EM-SPEC
E
em-spec
testingrubyv0.2.7
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.

EMSpec
require 'em-spec'

Write RSpec tests for EventMachine-based code.

require 'em-spec/rspec' describe 'async test' do it 'works' do EM.run do EM.add_timer(0.1) { EM.stop } end end end
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.7latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
30 hits · last 30 days
node
26
Amazon
1
OpenAI (training)
1
Resources
em-spec — gem install em-spec · libregistry