Overview
Master TDD in C# using xUnit - write tests first, implement code, and refactor. Learn test doubles with Moq framework to isolate components. Create cleaner, more maintainable code while reducing bugs and improving development efficiency.
Syllabus
- Foundations of TDD in C# & xUnit: The Principles
- An intro to Test Driven Development (TDD) in C# using xUnit. Covers TDD principles (Red/Green/Refactor), setup, and writing testable code using SOLID and dependency injection. Compares TDD with traditional approaches and examines impacts on code quality and development velocity.
- Red-Green-Refactor: Practicing TDD with C# and xUnit
- Hands-on practice course focused on mastering the TDD "Red-Green-Refactor" cycle in C# with xUnit. You'll write failing tests, implement code to pass them, and refactor while maintaining passing tests. Pure practice - no new concepts introduced.
- Isolating Dependencies with Test Doubles with C#, xUnit, & Moq
- Intro to test doubles in software testing - learn about dummies, stubs, spies, mocks, and fakes in xUnit. Covers using Moq framework to isolate tests, control behavior, and create maintainable test suites.
- Refactoring by Leveraging Your Tests with C# & xUnit
- Deep dive into the Refactor phase of TDD. Learn to spot code smells and apply refactoring techniques using real examples, while keeping tests passing to preserve functionality.
Courses
-
An intro to Test Driven Development (TDD) in C# using xUnit. Covers TDD principles (Red/Green/Refactor), setup, and writing testable code using SOLID and dependency injection. Compares TDD with traditional approaches and examines impacts on code quality and development velocity.
-
Hands-on practice course focused on mastering the TDD "Red-Green-Refactor" cycle in C# with xUnit. You'll write failing tests, implement code to pass them, and refactor while maintaining passing tests. Pure practice - no new concepts introduced.
-
Intro to test doubles in software testing - learn about dummies, stubs, spies, mocks, and fakes in xUnit. Covers using Moq framework to isolate tests, control behavior, and create maintainable test suites.
-
Deep dive into the Refactor phase of TDD. Learn to spot code smells and apply refactoring techniques using real examples, while keeping tests passing to preserve functionality.