Registry / testing / test-construct

test-construct

JSON →
library1.2.2rbrubygemsunverified

A DSL for creating temporary files and directories during testing, simplifying test setup and teardown.

gem install test-construct
INSTALL
IMPORT
SIG · TEST-CONSTRUCT
T
test-construct
testingrubyv1.2.2
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.

Construct
require 'construct'

Create a temporary directory with a file

require 'construct' Construct.new.within do |dir| dir.file('test.txt', 'content') puts Dir.glob('*').inspect end
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.2.2latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
12
Resources
test-construct — gem install test-construct · libregistry