3 ms·
> because of mock-reality mismatches. you also need to test the mocks against the real thing separately.
by chii 2y ago
> because of mock-reality mismatches.
you also need to test the mocks against the real thing separately.
- switchbak 2y agoI would prefer that we all try to use this language consistently: https://www.martinfowler.com/articles/mocksArentStubs.html https://www.martinfowler.com/articles/mocksArentStubs.html What you're describing sounds like a fake to me.
- drewcoo 2y agoCan't tell from the context that's here. It's important to have a contract testing layer in place to make sure your test doubles are still behaving like the real thing, though.
- ffsm8 2y agoContract testing is still a thing? I thought interested mostly fizzled out over the years after the initial hype died down
- Too 2y agoGood luck with that. Any org I’ve seen can’t even consistently agree what is a unit test, component test, black box test vs integration test.