Job category:
Software Engineering
242 learners

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.
C#
Moq
.NET Core
xUnit
5 lessons
26 practices
3 hours
Badge for Programming, Algorithms, and Data Structures,

Course details

Isolating Dependencies with Test Doubles: Dummies
Understanding EmailService in TDD with Dummy Implementations
Enhancing Logger Interface with Severity Parameter
Identifying and Fixing Bugs in EmailService Tests
Implementing Dummy Dependencies in EmailService Tests
Implementing Test Doubles for NewsletterService in C#

Turn screen time into skills time

Practice anytime, anywhere with our mobile app.
Sign up

Join the 1M+ learners on CodeSignal

Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal