Post

If you're writing E2E tests against a real database, how do you handle tests that run in parallel? Test assertions can become inaccurate based on when other tests have modified data.

Do you treat the database as append only? And each tests operates on it's own data? Or do you do something crazy like use a different database instance for each test? Or just run the tests in series and track what changes have been made prior?

0 reposts0 likes

No replies yet.