DiscoverTest & Code : Python Testing135: Speeding up Django Test Suites - Adam Johnson
135: Speeding up Django Test Suites - Adam Johnson

135: Speeding up Django Test Suites - Adam Johnson

Update: 2020-10-20
Share

Description

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.

Sponsored By:

Support Test & Code : Python Testing

Links:

Comments 
00:00
00:00
x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

135: Speeding up Django Test Suites - Adam Johnson

135: Speeding up Django Test Suites - Adam Johnson

Brian Okken