django-sane-testing icon indicating copy to clipboard operation
django-sane-testing copied to clipboard

Better db isolation control

Open tdivis opened this issue 13 years ago • 0 comments

  • reworked internal implementation of how (or rather when) database creation, transaction begin/rollback, flush and fixtures loading are made so that minimum of these time-consuming operations are made, and developer now have better control when those operations are (or are not) done.
  • database isolation control now works for packages and modules too (i.e. if you want db flush after each TestCase or test function in the module, you just put database_flush = True at the beginning of the module)
  • added tests for testing features mentioned above

tdivis avatar Apr 06 '12 12:04 tdivis