You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a huge database with over 1500 tables, our problem is that none of our db dumps have data in all tables. This means that when we want to unit test we need to be able to switch databases.
Solution
We were hoping for a way to automatically switch between databases during unit testing, whitout the need to run different test suites. We had thought about merging all our databases into one, by providing a prefix of which database it belongs to, but since we have migrations this isn't an option for us.
The text was updated successfully, but these errors were encountered:
Issue
We have a huge database with over 1500 tables, our problem is that none of our db dumps have data in all tables. This means that when we want to unit test we need to be able to switch databases.
Solution
We were hoping for a way to automatically switch between databases during unit testing, whitout the need to run different test suites. We had thought about merging all our databases into one, by providing a prefix of which database it belongs to, but since we have migrations this isn't an option for us.
The text was updated successfully, but these errors were encountered: