News for hackers. Stuff that matters.
Re:Mocking Is an Anti-Pattern by switchbak on Monday June 17, 2024 @01:47PM (#40708659)
This is a big one. A term of art for this is "General Fixture", and for xUnit type testing I consider it to be an anti-pattern.

There's times when a big test fixture can provide value, but it's very context dependent and almost never for smaller/micro tests.

There are no comments on this comment yet.