You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is there a possibility to run my tested binary in a tempdir and also cleaning that up after a successful (or even after a failing) test?
My binary creates files, I would thus also need a way to check whether files where generated with the appropriate contents, and clean them up after the tests.
If there is no such feature, feel free to consider this a feature-request! 😆
The text was updated successfully, but these errors were encountered:
We've not baked in running in a tempdir but leave the file system operations to https://github.com/assert-rs/assert_fs, with the assumption people will most likely want to additional things, like setup some files before running the command or verify the files after.
Hi,
is there a possibility to run my tested binary in a tempdir and also cleaning that up after a successful (or even after a failing) test?
My binary creates files, I would thus also need a way to check whether files where generated with the appropriate contents, and clean them up after the tests.
If there is no such feature, feel free to consider this a feature-request! 😆
The text was updated successfully, but these errors were encountered: