Simon Willison’s Weblog

Subscribe

1 item tagged “ellington”

2009

Django now has fast tests. Changeset 9756 switched Django’s TestCase class to running tests inside a transaction and rolling back at the end (instead of doing a full dump and reload). “Ellington’s test suite, which was taking around 1.5-2 hours to run on Postgres, has been reduced to 10 minutes.”

# 16th January 2009, 11:40 am / django, ellington, eric-holscher, python, testing, transactions, unittests