Autoplay
Autocomplete
Previous Lesson
Complete and Continue
Learn Unit Testing with NUnit and C#
Getting Started
Download Source Code
01-Outline (0:58)
02-What is a Unit Test (3:09)
03-Unit Testing Frameworks (3:22)
04-Your First Unit Test (8:49)
05-Naming Conventions (4:34)
06-Running and Debugging Unit Tests (5:02)
07-Benefits of Unit Tests (3:35)
08-Who Should Write Unit Tests and When (2:51)
09-Programmer's Oath (3:17)
10-DegreeConverter-Exercise (1:29)
11-DegreeConverter-Solution (6:53)
12-Conclusion (1:15)
NUnit Testing Framework
01-Outline (1:01)
02-Assert Intro (5:29)
03-Assert Demo (10:27)
04-Arrange-Act-Assert (0:58)
05-Running Tests from the Console (1:51)
06-SetUp and TearDown (5:08)
07-OneTimeSetUp and OneTimeTearDown (2:13)
08-Parameterized Unit Tests (3:40)
09-Grouping and Ignoring Unit Tests (2:14)
10-Code Coverage (1:42)
11-FizzBuzz Exercise (1:07)
12-FizzBuzz Solution (5:05)
13-Roman Numerals Exercise (2:27)
14-Roman Numerals Solution (9:27)
15-Stack Exercise (0:59)
16-Stack Solution (9:02)
17-Conclusion (1:38)
Test Doubles
01-Outline (1:09)
02-Demo of a Testing Problem (3:43)
03-Refactoring to Make Code Testable (4:19)
04-Test Doubles (5:55)
05-Hand-Rolled or Manual Test Doubles (11:53)
07-Problems with Manual Test Doubles (1:16)
08-Mocking Frameworks (7:52)
09-Writing Unit Tests with a Mocking Framework (7:43)
10-NSubstitute Mocking Framework. Key Features. Demo (18:06)
11-Detroit School vs London School of Unit Testing (2:23)
12-Conclusion (1:18)
Intro to Test-Driven Development (TDD)
01-Outline (0:41)
02-What is TDD (4:37)
03-Red Green Refactor (3:38)
04-TDD and Design Upfront (2:35)
05-TDD-Demo (32:16)
06-Conclusion (0:34)
Unit Testing Best Practice
01-Outline (0:55)
02-Do Unit Tests Guarantee the Success (2:25)
03-Pragmatic Unit Testing (5:16)
04-Integration Tests (4:18)
05-Singletons and Static Classes (7:02)
06-Header Interfaces (5:56)
07-Demo of Refactoring to a Testable Design (14:29)
08-How Much Test Coverage is Enough (2:37)
09-Testing Trivial Code (2:59)
10-The Rule of Testing a Single Concern (3:06)
11-More on Best Practices (9:52)
12-Generating Unit Test Method Signatures (1:25)
13-Conclusion (2:31)
Download Source Code
Lesson content locked
If you're already enrolled,
you'll need to login
.
Enroll in Course to Unlock