Hacker Times
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
cryptonector
on June 17, 2024
|
parent
|
context
|
favorite
| on:
How to test without mocking
In my tests spinning up a PG instance (ultimately just an `initdb` and `createdb` invocation, loading a schema and test data (`psql`), running the test, and tearing down the PG instance is quite fast.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: