Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


With fixturing.


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: