The test that passed while the code was broken
A test mocks every collaborator and asserts each was called with the expected arguments. A bug ships anyway and the test still passes.
Why?
A test mocks every collaborator and asserts each was called with the expected arguments. A bug ships anyway and the test still passes.
Why?