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.
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 separatemock/fixture
library could provide this.