Artwork

Innehåll tillhandahållet av Fernando Doglio. Allt poddinnehåll inklusive avsnitt, grafik och podcastbeskrivningar laddas upp och tillhandahålls direkt av Fernando Doglio eller deras podcastplattformspartner. Om du tror att någon använder ditt upphovsrättsskyddade verk utan din tillåtelse kan du följa processen som beskrivs här https://sv.player.fm/legal.
Player FM - Podcast-app
Gå offline med appen Player FM !

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

25:55
 
Dela
 

Manage episode 437464737 series 3546970
Innehåll tillhandahållet av Fernando Doglio. Allt poddinnehåll inklusive avsnitt, grafik och podcastbeskrivningar laddas upp och tillhandahålls direkt av Fernando Doglio eller deras podcastplattformspartner. Om du tror att någon använder ditt upphovsrättsskyddade verk utan din tillåtelse kan du följa processen som beskrivs här https://sv.player.fm/legal.

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!

Rate us!
To ensure the podcast reaches more developers, make sure to rate it on your favorite podcasting app and in Podchaser!
Thank you

  continue reading

33 episoder

Artwork
iconDela
 
Manage episode 437464737 series 3546970
Innehåll tillhandahållet av Fernando Doglio. Allt poddinnehåll inklusive avsnitt, grafik och podcastbeskrivningar laddas upp och tillhandahålls direkt av Fernando Doglio eller deras podcastplattformspartner. Om du tror att någon använder ditt upphovsrättsskyddade verk utan din tillåtelse kan du följa processen som beskrivs här https://sv.player.fm/legal.

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!

Rate us!
To ensure the podcast reaches more developers, make sure to rate it on your favorite podcasting app and in Podchaser!
Thank you

  continue reading

33 episoder

Alla avsnitt

×
 
Loading …

Välkommen till Player FM

Player FM scannar webben för högkvalitativa podcasts för dig att njuta av nu direkt. Den är den bästa podcast-appen och den fungerar med Android, Iphone och webben. Bli medlem för att synka prenumerationer mellan enheter.

 

Snabbguide