Djangoists:

Me again. Still helping clients TDD despite obese databases.

Right now the test suite takes a minute to build a database with >20
models (and lots of fields in each one), then load a mere 7,000
records. Yes I will cut down on the records, but building the
database, in sqlite3 :memory: mode, is also a big chunk.

So if I built the DB once, then ran a TDD cycle, couldn't the entire
system leave the database in a sqlite3 document, and put transactions
around each test case?

I'm going to copy the TestCase classes into our project, and have my
way with them. But is there an easier way, or has someone already done
this?

(1.2, BTW - the obese database prevents an upgrade to Django 1.3!)

--
  Phlip
  http://c2.com/cgi/wiki?ZeekLand

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to