Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
bccdee
33 days ago
|
parent
|
context
|
favorite
| on:
An overly aggressive mock can work fine, but break...
I think making narrow use-case-specific test doubles is often better than a big shared one. You can even wrap the API with an interface that only exposes the methods you need.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: