News for hackers. Stuff that matters.
Re:Mocking Is an Anti-Pattern by switchbak on Monday June 17, 2024 @01:44PM (#40708626)
I would prefer that we all try to use this language consistently: https://www.martinfowler.com/articles/mocksArentStubs.html

What you're describing sounds like a fake to me.

Re:Mocking Is an Anti-Pattern by drewcoo on Monday June 17, 2024 @02:01PM (#40708886)
Can'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.

Re:Mocking Is an Anti-Pattern by ffsm8 on Monday June 17, 2024 @04:16PM (#40710570)
Contract testing is still a thing?

I thought interested mostly fizzled out over the years after the initial hype died down

Re:Mocking Is an Anti-Pattern by Too on Tuesday June 18, 2024 @01:27AM (#40714324)
Good 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.