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.

testing
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.

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 footguns

No known footguns recorded.

Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
0 hits · last 30 days

No traffic data recorded yet.

Resources