ruby-test-construct

Ruby library that creates temporary files and directories for testing

Description

TestConstruct is a DSL for creating temporary files and directories during testing.

Using construct is as simple as calling within_construct and providing a block. All files and directories that are created within that block are created within a temporary directory. The temporary directory is always deleted before within_construct finishes.

There is nothing special about the files and directories created with TestConstruct, so you can use plain old Ruby IO methods to interact with them.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/bhb/test_construct


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install ruby-test-construct