Crate hide_glue

source ·
Expand description

Hide glue, like testing, holds beautiful things together.

This library contains some helpers for writing tests with files.

The file_reader module contains a TextFileReader, which simplifies tests which need to read and compare text files. The fixture module contains a TemporaryFileFixture, which will create a temporary file in a temporary directory, optionally copying an existing file to the temporary file.

Modules

A text file reader
A temporary file fixture