News for hackers. Stuff that matters.
Re:Mocking Is an Anti-Pattern by yellowapple on Tuesday June 18, 2024 @09:23PM (#40723832)
> Some APIs are very stable, and testing against the API itself can hit rate limiting, bans, and other anti-abuse mechanisms that introduce all kinds of instability to your test suite.

Those rate limits, bans, and other anti-abuse mechanisms are things that would be good to uncover and account for during tests. Better for the test suite to detect those potential failures than the production deployment :)

There are no comments on this comment yet.