Bug#778764: ITP: ruby-test-construct -- Ruby library that creates temporary files and directories for testing
Package: wnpp
Severity: wishlist
Owner: Alexander Gerasiov <gq@debian.org>
* Package name : ruby-test-construct
Version : 2.0.0
Upstream Author : Ben Brinckerhoff
* URL : https://github.com/bhb/test_construct
* License : MIT/Expat
Programming Lang: Ruby
Description : Ruby library that creates temporary files and directories for testing
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.
It's used in autotests by homesick (#778471)
Reply to: