Unit Testing Fundamentals
Learn unit testing basics and best practices and understand the core concepts, terminology, and techniques. This course will teach you unit testing fundamentals to get started writing good unit tests.
What you'll learn
Learn unit testing basics and best practices and understand the core concepts, terminology, and techniques. In this course, Unit Testing Fundamentals, you’ll learn unit testing fundamentals to get started writing good unit tests. First, you’ll explore the basics of writing unit tests. Next, you’ll discover the best practices for writing unit tests. Finally, you’ll learn how to start writing unit tests using techniques like TDD. When you’re finished with this course, you’ll have the skills and knowledge of unit testing fundamentals needed to start writing good unit tests that provide value and low maintenance.
Table of contents
- Introduction 3m
- Creating a Test Suite 6m
- Checkpoint 03 - Creating The Test Suite 0m
- Creating Your First Unit Test 8m
- Checkpoint 04 - Creating a unit test method 0m
- Structuring Your Unit Test 6m
- Checkpoint 05 - Structuring your unit test 0m
- What to Test and Verify 8m
- Checkpoint 06 - Creating additional unit tests 0m
- Sharing Setup between Unit Tests 6m
- Checkpoint 07 - Sharing Setup between unit tests 0m
- Using Parameterized Data 5m
- Checkpoint 08 - Consolidating tests using parameterized data 0m
- Summary 7m
- Introduction 3m
- Shared Dependencies 5m
- Stubs to Isolate Unit Tests 8m
- Checkpoint 09 - Stubs to Isolate Unit Tests 0m
- Mocks to Isolate Unit Tests 4m
- Checkpoint 10 - Mocks to Isolate Unit Tests 0m
- Unit Test vs. Integration Test 7m
- Checkpoint 11 - Avoiding integration tests 0m
- Avoiding Brittle Unit Tests 9m
- Checkpoint 12 - Avoiding brittle unit tests 0m
- Writing Testable Code 7m
- Checkpoint 13 - Writing testable code 0m
- Code Coverage 4m
- Summary 5m
- Introduction 2m
- TLD Approach to Unit Testing 7m
- Checkpoint 14 - Test last development 0m
- TDD: Start with a Failing Test 9m
- Exercise 01 - Test driven development using a coding kata 0m
- TDD: Write Minimal Code to Pass the Test 8m
- TDD: Refactor to Improve Code Design 5m
- Practicing TDD Using Katas 9m
- Summary 4m