Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Everything / Moq

Moq

Moq

Great Reads

by Akram El Assas
Microservices sample architecture using ASP.NET Core, Ocelot, MongoDB and JWT
by Aless Alessio
Design your solution and code your classes as loosely-coupled objects. Learn how to use MOQ and Ninject for mocking your Service and injecting it at runtime with Ninject.
by Gaston Verelst
Mocking functionality using MOQ
by Mario Majčica
When and how to use the Callback method on Moq in your unit tests.

Latest Articles

by Akram El Assas
Microservices sample architecture using ASP.NET Core, Ocelot, MongoDB and JWT
by Aless Alessio
Design your solution and code your classes as loosely-coupled objects. Learn how to use MOQ and Ninject for mocking your Service and injecting it at runtime with Ninject.
by Gaston Verelst
Mocking functionality using MOQ
by Mario Majčica
When and how to use the Callback method on Moq in your unit tests.

All Articles

Sort by Score

Moq 

by Akram El Assas
Microservices sample architecture using ASP.NET Core, Ocelot, MongoDB and JWT
by Aless Alessio
Design your solution and code your classes as loosely-coupled objects. Learn how to use MOQ and Ninject for mocking your Service and injecting it at runtime with Ninject.
by Mario Majčica
When and how to use the Callback method on Moq in your unit tests.
by slavik57
Mocking library for JavaScript
by Akhil Mittal
In this article we learn how to write unit tests for core business logic and primarily on basic CRUD operations.
by Akhil Mittal
In this article we’ll learn on how to write unit tests for WebAPI controllers i.e. REST’s actual endpoints.
by Akram El Assas
TDD in C# through a simple example
by Sem Shekhovtsov
The how-to article that summarises best practices for unit testing ASP NET Core MVC controller using NUnit and Moq framework
by freedeveloper
How to create a data access class in a way, that is possible to execute unit test on it
by Habibur Rony
BDD, AAA Structure And Object Mocking in Unit testing
by Praveenkj79
This article describes how to test your .NET core API using MS Test.