1 unstable release
0.1.0 | Dec 27, 2022 |
---|
#696 in Testing
9KB
127 lines
Hide glue — a library to help you test
Hide glue is a Rust library which helps you write tests.
License
See the COPYING file.
lib.rs
:
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.
Dependencies
~2–10MB
~107K SLoC