Unit Testing for C# Developers
Master unit testing C# code with NUnit and Moq: all about dependency injection, best practices and pitfalls to avoid
4.56 (13040 reviews)

59 818
students
6 hours
content
Apr 2018
last update
$94.99
regular price
What you will learn
Learn unit testing from scratch
Tips and tricks to write clean, maintainable and trustworthy tests
Write loosely-coupled and testable code
Refactor legacy code towards testable code
Understand and implement dependency injection
Use mocks to isolate code from external dependencies
Apply the unit testing best practices
Learn the anti-patterns to avoid
Charts
Students
Price
Rating & Reviews
Enrollment Distribution
Comidoc Review
Our Verdict
This course is an approachable and enriching experience for those learning unit testing with C#. With comprehensive examples and exercises, it lays the groundwork for understanding best practices. However, a few drawbacks include scattered outdated information on Visual Studio Test Explorer features, lack of depth in advanced NUnit topics like DDT, and missed opportunities for exploring async code scenarios. By addressing such areas, this course could more robustly prepare developers entering modern testing environments.
What We Liked
- Excellent for learning unit testing from scratch with C#, NUnit, and Moq.
- Practical examples and exercises solidify understanding of theory.
- Covers best practices and anti-patterns in writing clean, maintainable tests.
- Discusses dependency injection and mocking external dependencies.
Potential Drawbacks
- Some outdated information regarding Visual Studio Test Explorer features.
- Lack of depth in advanced NUnit features like Data-Driven Tests (DDT).
- Does not explore async code scenarios, which may be less realistic for today's developers.
Related Topics
1496348
udemy ID
05/01/2018
course created date
21/08/2019
course indexed date
Bot
course submited by