mockgyver icon indicating copy to clipboard operation
mockgyver copied to clipboard

Warn about unused mocks

Open klajo opened this issue 3 years ago • 0 comments

Warn (or fail) when unused mocks are detected. This shall be done in a way that causes no false warnings. It is for example not enough to plug in a check at the end of a fixture (multi-testcase fixture), since there can be multiple fixtures in a test module and those could use a common setup/0 function (which can be convenient to simplify the test code).

I have some experiments in progress.

klajo avatar Oct 02 '21 09:10 klajo