Registry / testing / artifice

artifice

JSON →
library0.6rbrubygemsunverified

Replaces Net::HTTP with a subclass that routes all requests to a Rack application for testing.

gem install artifice
INSTALL
IMPORT
SIG · ARTIFICE
A
artifice
testingrubyv0.6
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.

Artifice
require 'artifice'

Route Net::HTTP requests to a Rack app.

require 'artifice' Artifice.activate_with(MyRackApp) Net::HTTP.get(URI('http://example.com'))
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.6latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
34 hits · last 30 days
node
32
OpenAI (training)
1
Resources
artifice — gem install artifice · libregistry