Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
paulryanrogers
6 months ago
|
parent
|
context
|
favorite
| on:
Database mocks are not worth it
You can run Pg against a RAM disk too, if the container isn't effectively already doing that.
And tests can often use a DB transaction to rollback, unless the code under test already uses them.
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
And tests can often use a DB transaction to rollback, unless the code under test already uses them.