I have updated the patch to enable state tracking in the test suite. The very short summary is that instead of flushing all tables, Django flushes only changed tables for each test. This results in speed gains in TransactionTestCases.
The patchseries can be found from: [https://github.com/akaariai/django/ tree/test_state_tracking]. The series is split into three patches: - Core changes: https://github.com/akaariai/django/commit/05a7177d19b6db6d6f09d8f0e112cf19ef8c6f84 - Changing Django's test suite to use state tracking: https://github.com/akaariai/django/commit/0dd20e4fc43852a1e7f440b8fc55141fe403ea9f - Incomplete docs: https://github.com/akaariai/django/commit/9aadcb75a6feefefe019d62f31d0deaf04983e94 There are no tests, yet. The docs should be enough to see how to test this patch against real-world apps. The first patch (the core changes) unfortunately contains some changes which aren't related to this patch. The changes include at least one Oracle test failure fix, skipping validation of already validated models, a little of test-suite changes to use this feature, and might contain some debug stuff. So, when reviewing be alert of these changes. Unfortunately I don't have more time to work on this before next week, and I thought it would be a good idea to post what I have now available. The patch is feature-complete, and there are no known bugs. This should be pretty safe to include in 1.5. If you don't explicitly enable the feature for particular TransactionTestCase, it will not do anything. However, there isn't much time before feature freeze, so probably this will need to be pushed into 1.6. If you want this into 1.5, then reviews & testing is needed immediately. - Anssi -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.