Skip to content

Conversation

@Dr-Emann
Copy link

Before, cargo test would often fail: because the tests were extracting to common directories, they could step on each others' toes, clearing the directory while another test was writing output.

This uses the tempfile library to create a temporary directory (which is automatically cleaned up when it goes out of scope.

Before, `cargo test` would often fail: because the tests were extracting
to common directories, they could step on each others' toes, clearing
the directory while another test was writing output.

This uses the `tempfile` library to create a temporary directory (which
is automatically cleaned up when it goes out of scope.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant