Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
campbel
on June 17, 2024
|
parent
|
context
|
favorite
| on:
How to test without mocking
This 100%. I'm not sure how the author managed to create consistent failure cases using real service dependencies, but in my code I find mocks to be the easiest way to test error scenarios.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: