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

EPISODE · 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/deleteman123YouTube: https://www.youtube.com/@the-scripting-denMy 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 metadata supplied by the publisher feed · Published Aug 31, 2024

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...

Distinct summary based on available episode metadata or transcript content.

Ready to play

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

0:00 25:55

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

No similar podcasts found.

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.
URL copied to clipboard!