Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
layer8
on Nov 20, 2023
|
parent
|
context
|
favorite
| on:
The big TDD misunderstanding (2022)
How do you guarantee the database contents is in the right state for the given test? Dropping all tables and recreating them with the respective test data is the only sure way. And if you run tests in parallel, you need parallel database instances.
TylerE
on Nov 20, 2023
[–]
With fixturing.
layer8
on Nov 20, 2023
|
parent
[–]
That doesn’t explain anything. I’m saying that setting up a new schema would be the fixture.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: