-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
A-pytestArea: pytest-like framework implemented on top of the new harnessArea: pytest-like framework implemented on top of the new harnessC-enhancementCategory: Raise on the bar on expectationsCategory: Raise on the bar on expectations
Description
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 on drop()
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 running
It 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)
Metadata
Metadata
Assignees
Labels
A-pytestArea: pytest-like framework implemented on top of the new harnessArea: pytest-like framework implemented on top of the new harnessC-enhancementCategory: Raise on the bar on expectationsCategory: Raise on the bar on expectations