humanmade / humanmade/ext-php-rs-starter
Clean up files on teardown
Open
- Dominant language
- Rust
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
We write files out to the temp directory but never clean them up.
We can implement a teardown by having `setup()` return an object which implements `Drop`, and having tests keep it in scope, eg
```rs
#[test]
fn test_some_thing() {
let ctx = setup();
// ...
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.