#test #tests #temp #tmp

test-temp-file

This crate allows creation and automatic deletion (based on Drop trait) of files

3 releases

0.1.2 Jul 11, 2020
0.1.1 Jul 11, 2020
0.1.0 Jul 11, 2020

#1749 in Filesystem

Download history 14/week @ 2023-11-14 16/week @ 2023-11-21 15/week @ 2023-11-28 18/week @ 2023-12-05 16/week @ 2023-12-12 23/week @ 2023-12-19 31/week @ 2023-12-26 12/week @ 2024-01-02 4/week @ 2024-01-09 3/week @ 2024-01-30 123/week @ 2024-02-06 146/week @ 2024-02-13 34/week @ 2024-02-20 35/week @ 2024-02-27

338 downloads per month
Used in align3d

MIT/Apache

6KB
104 lines

(https://crates.io/crates/test-temp-file) Rust

[Test Temp File]

This crate allows creation and automatic deletion (based on Drop trait) of files.

This is aimed mostly for testing purposes, for example when testing a parser you probably want to read/write file and validate their content


lib.rs:

This crate allows creation and automatic deletion (based on Drop trait) of files. This is aimed mostly for testing purposes, for example when testing a parser you probably want to read/write file and validate their content

Dependencies

~535KB