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

Published: Oct. 4, 2021, noon

b'

\\u201cThe 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."

\\n

Vladimir Khorikov is the author of \\u201cUnit Testing: Principles, Practices, and Patterns\\u201d 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.

\\n

Listen out for:

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

_____

\\n

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

\\n

Follow Vladimir:

\\n\\n


\\n

Our Sponsor

\\n

Are you looking for a new cool swag?
\\nTech Lead Journal now offers you some swags that you can purchase online.
\\nThese swags are printed on-demand based on your preference, and will be delivered safely to you all over the world where shipping is available.
\\nCheck out all the cool swags by visiting https://techleadjournal.dev/shop.

\\n


\\n

Like this episode?
\\n
Subscribe on your favorite podcast app and submit your feedback.
\\nFollow @techleadjournal on LinkedIn, Twitter, and Instagram.
\\nPledge your support by becoming a patron.
\\nFor more info about the episode (including quotes and transcript), visit techleadjournal.dev/episodes/58.

'