Unit Testing Intro
How can you be sure your code actually works—not just once, but consistently as it evolves? This introductory course explores the foundations of modern unit testing and why it’s an essential part of effective development, not an afterthought. Many developers encounter challenges like brittle tests, systems that are hard to verify without running everything end-to-end, and bugs that slip through despite their best efforts. This course begins by unpacking those common problems and reframing testing as a tool for clarity, confidence, and better design.
You’ll be introduced to the core principles behind reliable and maintainable tests, learning how thoughtful design makes code easier to verify and adapt. The course also highlights the role of testing in reducing risk, speeding up development, and improving collaboration across teams. Rather than focusing only on theory, it emphasizes practical thinking—how to approach testing in real-world situations where time, complexity, and existing codebases all present constraints.
By the end of this introduction, you’ll understand why testing is a critical skill for any developer and how it can transform the way you build and maintain software.
When you purchase this course, you will receive a $75 credit towards the purchase of Unit Testing: Confidence with Automated Testing. The code to use the discount will come in your purchase confirmation.
FAQs
What is this course?
1
An introduction to Unit Testing. This course is the first few lessons of our full Unit Testing Course.
Who is it for?
2
Engineers curious about incorporating Unit Testing into their workflows.
What will you learn?
3
Writing Simple Tests, Parameterized Tests, API Testing, Writing Tests for Bugs
Prerequisites?
4
None
Syllabus
-
Welcome from Sam
What do you know?
-
Environment Setup
Hello World Demo Follow Along
Hello World Review
Easy Refactoring
Exercise: What if we have an empty string?
Defining Test Cases
Zombies!
-
Writing Simple Tests
Exercise: Create Tests
Tolerance
Exercise: Refactoring Practice
-
Characteristics of Good Tests
Poor Parameterization
Demo: Parameters Example
Exercise: Parameterized Tests
Thoughts?
-
Avoid Overspecifying
Stack Example with Categorization
Given When Then
Exercise: Testing a Stack
Rule of Thumb
-
Intro to Session 2 (1 min)
Exercise: Yatzy Bug (1 min + exercise time)
Thoughts on Yatzy Bug
Your Instructor
Sam Taggart
I am passionate about helping LabVIEW developers grow so they can confidently take on bigger and better challenges. I have been doing LabVIEW for over a dozen years. Over that time I have learned a ton. I learned a lot of it the hard way. I wish I would have had some more guidance along the way. That is why I created these courses to point junior developers in the right direction and help them to avoid stubbing their toes so much.
Questions?
Questions about the content in this course? Would you like more information on the next offering of this workshop? Interested in custom classes? Drop us a line.