In this part of the Testing Django series we will learn how to set up a dedicated CouchDB database for our automated Django tests. Django supports different SQL systems natively. If you want to use NoSQL solutions for making your data persistent you need to tinker a little bit yourself sometimes. I used CouchDB and Couchdbkit in a Django project. One problem was that the test data was saved in the same CouchDB database as data that was entered through the "productive" web interface. Here I describe how to have separate a database for each case. More
2010-09-13