Autoplay
Autocomplete
Previous Lesson
Complete and Continue
C# Unit Testing
Writing test
Introduction (1:13)
What is TDD (3:44)
Create project and write first test method (5:13)
Your reward awaits
Refactoring and adding domain project (5:16)
Adding web api project (8:30)
Test first approach (10:20)
Assertion message (4:42)
Fluent assertions (6:56)
Task
Handout
Given-When-Then, and Red-Green-Refactor patterns
Test conditions and prerequisites (3:54)
Setting up flight project (1:09)
Translating a scenario to test (10:01)
Red green refactor (4:31)
Given when then pattern and avoid overbooking scenario discovery (5:41)
Avoid overbooking scenario (7:31)
Task
Handout
Test Trustworthiness and Parameterized Tests
Test trustwhortiness and devils advocate (6:28)
Practical devils advocate for remaining number of seats (5:36)
Parameterized tests (5:26)
Discovering new scenarios by checking if the production code is complete (11:49)
Refactor remeber bookings (2:29)
Task
Handout
TDD Laws
Laws of TDD (4:14)
Scenario cancel bookings using TDD laws (10:02)
Handle cancel booking no booking found (7:58)
How you discover new scenarios (2:20)
Task
Handout
Testing Application Layers
Application layer testing (2:48)
Scenario application layer booking part one (9:16)
Scenario application layer booking part two (8:02)
Scenario application layer booking part three (7:35)
Configure in memory database (7:52)
Parameterize books_flights test (2:03)
Implement booking service (8:05)
Refactoring booking service (3:33)
Create test for canceling bookings (9:01)
Finalize cancel booking (5:04)
Naming conventions (2:46)
Test suit as documentation (1:55)
Application layer (0:39)
Task
Handout
Configure in memory database
Lesson content locked
If you're already enrolled,
you'll need to login
.
Enroll in Course to Unlock