Python Test

135: Speeding up Django Test Suites - Adam Johnson

10.20.2020 - By Brian OkkenPlay

Download our free app to listen on your phone

Download on the App StoreGet it on Google Play

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:monday.com: Creating a monday.com app can help thousands of people and win you prizes. Maybe even a Tesla or a MacBook.Datadog: Modern monitoring & security. See inside any stack, any app, at any scale, anywhere.

Visit testandcode.com/datadog to get started.Links:Speed Up Your Django Tests — the book by Adam JohnsonKukicha — "or twig tea, ..., is a Japanese blend made of stems, stalks, and twigs."

More episodes from Python Test