Django: How to keep the test database when the test is finished?

Viewed 13658

Some of my requirements are these:

  • Create a in-memory sqlite3 database.
  • Read a list, and pull those data from production database.
  • Perform unit tests
  • Remain the test database.
  • Perform some intelligent UI tests using the same test database.

I am not a pro in test, but these have to achieved, anyone professional who can suggest a best practice in this area?

Thanks very much for your help!

3 Answers
Related