Speeding up Django Test Suites - Adam Johnson

Episode 135 · October 20th, 2020 · 23 mins 34 secs

About this Episode

All test suites start fast. But as you grow your set of tests, each test adds a little bit of time to the suite.
What can you do about it to keep test suites fast?
Some things, like parallelization, are applicable to many domains.
What about, for instance, Django applications?
Well, Adam Johnson has thought about it a lot, and is here to tell us how we can speed up our Django test suites.

Topics include:

  • parallelizing tests
  • moving from disk to memory
  • using fake data and factory functions
  • targeted mocking

Episode Links