Click here to Skip to main content
14,301,527 members

Mocking

Great Reads

by Akram El Assas
This article discusses advanced Test-Driven Development (TDD) in C# through a simple example. Whether you are a new or experienced developer, this article will show you every step of TDD through a very simple example.
by Richard Silveira
EntityFramework.MoqHelper library to work with Entity Framework 6 and Moq libraries doing mocks of Entity Framework main methods that access database.
by Pavel Durov
This tip briefly shows how to change your user agent or any other data in window.navigator object.
by Ivan Yakimov
Cases when you may, and when you should not use mocking framework

Latest Articles

by Akram El Assas
This article discusses advanced Test-Driven Development (TDD) in C# through a simple example. Whether you are a new or experienced developer, this article will show you every step of TDD through a very simple example.
by Mirnes Mrkaljevic
This article shows how to use JSON response from REST service using Java GSON API.
by Ivan Yakimov
Cases when you may, and when you should not use mocking framework
by Sibeesh Passion
In this post we will see how we can write unit test cases for our WCF Service with a framework called NUnit. We will also be covering how to mock our dependencies in our test, here we wil be using Rhino Mocks. I am going to use Visual Studio 2015 for the development. I hope […]

All Articles

Sort by Score

Mocking 

2 Aug 2019
Akram El Assas
This article discusses advanced Test-Driven Development (TDD) in C# through a simple example. Whether you are a new or experienced developer, this article will show you every step of TDD through a very simple example.
14 Oct 2014
Mario Majčica
When and how to use the Callback method on Moq in your unit tests.
20 Nov 2016
Sibeesh Passion
In this post we will see how we can write unit test cases for our WCF Service with a framework called NUnit. We will also be covering how to mock our dependencies in our test, here we wil be using Rhino Mocks. I am going to use Visual Studio 2015 for the development. I hope […]
11 May 2016
witnes
Examples of Mock usages
10 Aug 2016
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.