Re:Ask HN: How will it impact my webapp if it is written in ...
by newaroundhere on Wednesday July 07, 2010 @02:37AM
(#1493535)
I think what he might be referring to is when you run an in-memory SQLite database in your unit tests (which is common practice, for speed and convenience). If the test server runs in a separate thread to the unit test, then they use two separate in-memory databases and you cannot populate the server database from your unit test setUp.
This however does work in Django - presumably by somehow passing the same DB connection to the test server.
This however does work in Django - presumably by somehow passing the same DB connection to the test server.