3 ms·
Mocking is useless when the team that writes the mocks is the same team that wrote the tests and the code that is tested. When the team makes a wrong assumption
by aliasEli 5y ago
Mocking is useless when the team that writes the mocks is the same team that wrote the tests and the code that is tested. When the team makes a wrong assumption it will be present in both code and tests.
Useful tests use the real code of the functions it is calling.