Tech Lead Journal

#58 - Principles for Writing Valuable Unit Tests - Vladimir Khorikov


Listen Later

“The main goal of unit testing is to enable sustainable growth of your software project that enables you to move faster with a more quality code base."

Vladimir Khorikov is the author of “Unit Testing: Principles, Practices, and Patterns” and the founder of Enterprise Craftsmanship blog. In this episode, we discussed in-depth about unit testing. Vladimir broke down the four pillars of unit testing and the anatomy of a good unit test, as well as mentioned a couple of common unit testing anti-patterns. We also discussed topics such as test-driven development, code coverage and other unit testing metrics, test mocks and how to use it properly, and how to be pragmatic when writing unit tests.

Listen out for:

  • Career Journey - [00:05:32]
  • Unit Testing - [00:08:20]
  • The Goal of Unit Testing - [00:11:34]
  • Test-Driven Development - [00:12:55]
  • Code Coverage & Other Successful Metrics - [00:17:35]
  • Pragmatic Unit Tests - [00:21:04]
  • 4 Pillars of Unit Testing - [00:23:40]
  • Anatomy of a Good Unit Test - [00:34:01]
  • Test Mocks - [00:38:16]
  • Unit Testing Anti-Patterns - [00:47:05]
  • Tech Lead Wisdom - [00:49:56]
  • _____

    Vladimir Khorikov’s Bio

    Vladimir Khorikov is the author of the book “Unit Testing: Principles, Practices, and Patterns”. He has been professionally involved in software development for over 15 years, including mentoring teams on the ins and outs of unit testing. He’s also the founder of the Enterprise Craftsmanship blog, where he reaches 500 thousand software developers yearly.

    Follow Vladimir:

    • LinkedIn – https://www.linkedin.com/in/vladimir-khorikov-bb482653
    • Twitter – https://twitter.com/vkhorikov
    • Enterprise Craftsmanship – https://enterprisecraftsmanship.com/
    • Pluralsight – https://app.pluralsight.com/profile/author/vladimir-khorikov

    • Our Sponsor

      Are you looking for a new cool swag?

      Tech Lead Journal now offers you some swags that you can purchase online.
      These swags are printed on-demand based on your preference, and will be delivered safely to you all over the world where shipping is available.
      Check out all the cool swags by visiting https://techleadjournal.dev/shop.


      Like this episode?

      Subscribe on your favorite podcast app and submit your feedback.
      Follow @techleadjournal on LinkedIn, Twitter, and Instagram.
      Pledge your support by becoming a patron.
      For more info about the episode (including quotes and transcript), visit techleadjournal.dev/episodes/58.

      ...more
      View all episodesView all episodes
      Download on the App Store

      Tech Lead JournalBy Henry Suryawirawan

      • 4.7
      • 4.7
      • 4.7
      • 4.7
      • 4.7

      4.7

      13 ratings


      More shows like Tech Lead Journal

      View all
      Software Engineering Radio - the podcast for professional software developers by team@se-radio.net (SE-Radio Team)

      Software Engineering Radio - the podcast for professional software developers

      272 Listeners

      Hanselminutes with Scott Hanselman by Scott Hanselman

      Hanselminutes with Scott Hanselman

      383 Listeners

      The Changelog: Software Development, Open Source by Changelog Media

      The Changelog: Software Development, Open Source

      290 Listeners

      Software Engineering Daily by Software Engineering Daily

      Software Engineering Daily

      622 Listeners

      Talk Python To Me by Michael Kennedy

      Talk Python To Me

      584 Listeners

      Soft Skills Engineering by Jamison Dance and Dave Smith

      Soft Skills Engineering

      288 Listeners

      Thoughtworks Technology Podcast by Thoughtworks

      Thoughtworks Technology Podcast

      43 Listeners

      Super Data Science: ML & AI Podcast with Jon Krohn by Jon Krohn

      Super Data Science: ML & AI Podcast with Jon Krohn

      302 Listeners

      Y Combinator Startup Podcast by Y Combinator

      Y Combinator Startup Podcast

      228 Listeners

      Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

      Syntax - Tasty Web Development Treats

      986 Listeners

      CoRecursive: Coding Stories by Adam Gordon Bell - Software Developer

      CoRecursive: Coding Stories

      189 Listeners

      Practical AI by Practical AI LLC

      Practical AI

      205 Listeners

      AWS Podcast by Amazon Web Services

      AWS Podcast

      204 Listeners

      The Stack Overflow Podcast by The Stack Overflow Podcast

      The Stack Overflow Podcast

      63 Listeners

      This Day in AI Podcast by Michael Sharkey, Chris Sharkey

      This Day in AI Podcast

      228 Listeners