jackfirth / racket-mock

Mocking library for Racket
Other
22 stars 7 forks source link

Disposable / fixture integration #125

Open jackfirth opened 7 years ago

jackfirth commented 7 years ago

By making mock call histories disposables, it should be possible to provide a variant of with-mocks that uses fixtures. This could be a potential solution to #31, as nested test cases within a test case using fixtures would automatically have the mocks cleaned up and reset each test. A separate mock/fixture library could provide this.