As the project changes, a lot of mocks can remain that are not even called in the scope of the test suite.
I wonder if in this project, we could somehow automatically detect whether a given mock was called at least once; if not, throw an error - this would help people keep their test suites lean and clean.
As the project changes, a lot of mocks can remain that are not even called in the scope of the test suite.
I wonder if in this project, we could somehow automatically detect whether a given mock was called at least once; if not, throw an error - this would help people keep their test suites lean and clean.