<ctrl+c>
support for teardown
#44
Labels
A-pytest
Area: pytest-like framework implemented on top of the new harness
C-enhancement
Category: Raise on the bar on expectations
Uh oh!
There was an error while loading. Please reload this page.
Hiya! In some projects it's common to startup external resources that are used by the test suite when running
cargo test
although normally they rely ondrop()
running to tear down the resources when finished. This causes issues when killing the test suite with something like<ctrl+c>
since drop doesn't actually end up runningIt would be nice if there was some way of setting up or registering a resource that could be torn down even when stopping the test suite with signals
(Side note: this whole project looks really promising. Let me know if there are any ways that I could help out)
The text was updated successfully, but these errors were encountered: