PLAY PODCASTS
135: Speeding up Django Test Suites - Adam Johnson
Episode 135

135: Speeding up Django Test Suites - Adam Johnson

Test & Code

October 20, 202021m 42s

Audio is streamed directly from the publisher (test-and-code.sfo3.cdn.digitaloceanspaces.com) as published in their RSS feed. Play Podcasts does not host this file. Rights-holders can request removal through the copyright & takedown page.

Show Notes

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

Special Guest: Adam Johnson.


Links:




Topics

Djangosoftware testing