Click here to Skip to main content
15,867,874 members
Everything / Moq

Moq

Moq

Great Reads

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 Gaston Verelst
Mocking functionality using MOQ
by Jason Sultana
Common practice that I employ in test projects - re-usable mocks

Latest Articles

by Akram El Assas
Microservices sample architecture using ASP.NET Core 8, Ocelot, MongoDB and JWT
by Akram El Assas
TDD in C# through a simple example
by Jason Sultana
Common practice that I employ in test projects - re-usable mocks
by freedeveloper
How to create a data access class in a way, that is possible to execute unit test on it

All Articles

Sort by Score

Moq 

U 23 Mar 2024 by Akram El Assas
TDD in C# through a simple example
8 Apr 2018 by Sem Shekhovtsov
The how-to article that summarises best practices for unit testing ASP NET Core MVC controller using NUnit and Moq framework
U 23 Mar 2024 by Akram El Assas
Microservices sample architecture using ASP.NET Core 8, Ocelot, MongoDB and JWT
7 Mar 2016 by Akhil Mittal
In this article we’ll learn on how to write unit tests for WebAPI controllers i.e. REST’s actual endpoints.
14 Oct 2014 by Mario Majčica
When and how to use the Callback method on Moq in your unit tests.
1 Mar 2016 by Akhil Mittal
In this article we learn how to write unit tests for core business logic and primarily on basic CRUD operations.
10 Aug 2016 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.
8 May 2017 by Habibur Rony
BDD, AAA Structure And Object Mocking in Unit testing
23 Jul 2017 by Praveenkj79
This article describes how to test your .NET core API using MS Test.
16 May 2022 by freedeveloper
How to create a data access class in a way, that is possible to execute unit test on it