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ยง

file_reader
A text file reader
fixture
A temporary file fixture