Skip to content
Episode 31 - How (and why) to optimize your unit tests for performance? episode artwork

Aug 31, 2024 25 min

Episode 31 - How (and why) to optimize your unit tests for performance?

from The Scripting Den Podcast

Unit tests are usually 2nd (if not 3rd) class citizens in any codebase, teams usually work on them only once they're done with all the "important" features. However, if you do it like that, chances are those tests will eventually start slowing your development process down. They will affect your coding, and your deployment pipelines, affecting your time-to-resolution metrics or even the business by slowing down time-to-market numbers. In other words, bad tests are a real problem. In this episode I cover several reasons why optimizing for performance is actually a great idea, and multiple things you can do to improve your unit tests. Mainly: Get rid of your 3rd party dependencies. Test only what needs to be tested. Optimize the test data. Implement selective testing. Get in touch! X (Twitter): https://twitter.com/deleteman123 YouTube: https://www.youtube.com/@the-scripting-den My newsletter: https://fernandodoglio.substack.com/ Rate us! To ensure the podcast reaches more developers, make sure to rate it on your favorite podcasting app and in Podchaser! Thank you

Episode details come from the podcast's RSS feed.

Embed this episode

Unit tests are usually 2nd (if not 3rd) class citizens in any codebase, teams usually work on them only once they're done with all the "important" features. However, if you do it like that, chances are those tests will eventually start slowing your development process down. They will affect your coding, and your deployment pipelines, affecting your time-to-resolution metrics or even the business by slowing down time-to-market numbers. In other words, bad tests are a real problem. In this ep...

Ready to play

Episode 31 - How (and why) to optimize your unit tests for performance?

0:00 25:55

No transcript yet.

Requests help us decide what to transcribe next.

Frequently asked questions

How long is this episode of The Scripting Den Podcast?

This episode is 25 minutes long.

When was this The Scripting Den Podcast episode published?

This episode was published on August 31, 2024.

Is there a transcript available for this episode?

Yes, a full transcript is available for this episode. You can read the complete transcript on the episode page.

Can I download this The Scripting Den Podcast episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.