Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Discover the power of unit testing in this engaging conference talk from Conf42 Rustlang 2023. Explore the benefits and overcome common friction points associated with unit testing as Joe Skeen shares his personal journey and insights. Learn what constitutes a unit test and dive into key strategies for effective implementation, including breaking down complex systems, prioritizing test code quality, focusing on critical aspects, and utilizing the AAA (Arrange, Act, Assert) pattern. Witness practical demonstrations through code examples, gain valuable encouragement, and leave equipped with the knowledge to embrace and excel in unit testing practices.
Syllabus
intro
preamble
unit testing provides benefits
unit testing friction
my journey
what is a unit test?
key 1: break it down!
privacy knob mockup
key 2: care about test code quality
other use cases
exceptional use cases
key 3: focus on what matters
key 4: use aaa
enough talk, let's see the code!
don't get carried away
encouragement
go forth and unit test
Taught by
Conf42