racket-mock icon indicating copy to clipboard operation
racket-mock copied to clipboard

Disposable / fixture integration

Open jackfirth opened this issue 8 years ago • 0 comments

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.

jackfirth avatar Aug 29 '17 00:08 jackfirth