Click here to Skip to main content
15,434,532 members
Everything / Moq

Moq

Moq

Great Reads

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 Akhil Mittal
In this article we’ll learn on how to write unit tests for WebAPI controllers i.e. REST’s actual endpoints.
by Mario Majčica
When and how to use the Callback method on Moq in your unit tests.

Latest Articles

by freedeveloper
How to create a data access class in a way, that is possible to execute unit test on it
by Daan Acohen
Some functionality of Moq can be really important but can also be easily forgotten as explained here
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 Praveenkj79
This article describes how to test your .NET core API using MS Test.

All Articles

Sort by Score

Moq 

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
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.
8 May 2017 by Habibur Rony
BDD, AAA Structure And Object Mocking in Unit testing
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.
16 Apr 2016 by slavik57
Mocking library for JavaScript
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