Home / Companies / FusionAuth / Blog / Post Details
Content Deep Dive

The Top 6 Indications You’re Doing Mocking Wrong

Blog post from FusionAuth

Post Details
Company
Date Published
Author
Andy Pai
Word Count
3,419
Company Posts That Month
9
Language
English
Hacker News Points
1
Summary

This is a summary of the dangers of over-reliance on mocking in software development, particularly when testing complex workflows and authentication flows. Mocking can be useful for isolated unit tests, but it's essential to understand its limitations and potential pitfalls. The text highlights six ways in which mocking can go wrong, including allowing false confidence, increasing maintenance overhead, and failing to capture real-world issues like rate limiting and security updates. It also discusses the importance of using real dev versions of services when possible, as they provide better production alignment, lower maintenance, accurate testing, and developer confidence.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Kubernetes 2 2,271 264 89 +53%
Developer Experience 1 521 216 95 +51%
Real-time 1 6,887 1,132 212 +49%