Registry / testing / async-rspec

async-rspec

JSON →
library1.17.1rbrubygemsunverified

Provides helpers for writing RSpec specs that use the async gem.

gem install async-rspec
INSTALL
IMPORT
SIG · ASYNC-RSPEC
A
async-rspec
testingrubyv1.17.1
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.

Async::RSpec
require 'async/rspec'

Write an RSpec test that runs inside an async reactor.

require 'async/rspec' RSpec.describe 'async test' do include Async::RSpec::Reactor it 'runs async' do Async do expect(1 + 1).to eq(2) end end end
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.17.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
50 hits · last 30 days
node
42
OpenAI (training)
1
Resources
async-rspec — gem install async-rspec · libregistry