2 ms·
Why writing unit tests means something else to different people
- aliasEli 5y agoMocking 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.