Error!
Success!

By tag: Moq

showing:  of
0
kicks

Using Mocking Framework - Moq  (Unpublished)

This post will tell how to incorporate one of the popular & free object mocking framework, Moq in your unit tests.


Kicked By:
Drop Kicked By:
0
kicks

Auto-mocking hierarchies (a.k.a. recursive mocks) with Moq  (Unpublished)

In this post I will show how the auto-mocking hierarchies (a.k.a. recursive mocks) feature of Moq can greatly simplify your unit tests.


Kicked By:
Drop Kicked By:
0
kicks

Mocking - VISUG session (screencast)  (Unpublished)

Abstract: "This session provides an introduction to unit testing using mock objects. It builds a small application using TDD (test driven development). To enable easier unit testing, all dependencies are removed from code and introduced as mock objects. Afterwards, a mocking framework by the na...


Kicked By:
Drop Kicked By:
0
kicks

Mocking - VISUG session  (Unpublished)

Thursday evening, I did a session on Mocking for the VISUG (Visual Studio User Group Belgium). As promised, here is the slide deck I’ve used. The session will be available online soon, in the meantime you'll have to go with the slide deck.


Kicked By:
Drop Kicked By:
0
kicks

Beginning Mocking With Moq 3 - Part 4  (Unpublished)

into to mocking using moq libary, part 4


Kicked By:
Drop Kicked By:
0
kicks

Beginning Mocking With Moq 3 - Part 2  (Unpublished)

Beginners introduction to mocking using the recently released Moq 3 framework.


Kicked By:
Drop Kicked By:
0
kicks

Beginning Mocking With Moq 3 – Part 1  (Unpublished)

A intro to mocking using the newly release Moq 3 framework.


Kicked By:
Drop Kicked By:
0
kicks

Part 3 – Advanced mocking functionalities of Moq  (Unpublished)

When you have some simple scenario like “when the method “GetTax” is called, return 5$” it’s a simple scenario that a lot of mockers will see. However, there is some rarer scenario that people will wonder how to do it. One of those scenario is with event handlers.


Kicked By:
Drop Kicked By:
0
kicks

Part 2 - Basic of mocking with Moq  (Unpublished)

As every mocking framework, except TypeMock which can perform differently, every mocked class can't be sealed and methods that need to be mocked need to be public. If the class is not inheriting from an interface, the method that are being mocked need to be virtual. Once this is cleared... let's...


Kicked By:
Drop Kicked By:
0
kicks

Part 1 - Introduction to Moq  (Unpublished)

This is the first post of a serie on mocking with Moq. I'll be giving a conference a .NET Montreal Community on February 25th and I though there it would be good reference to anyone attending the @Lunch event.


Kicked By:
Drop Kicked By:
0
kicks

Mocking ASP.NET MVC HtmlHelper using Moq  (Unpublished)

HtmlHelper is used quite frequently in ASP.MVC. It has a number of dependencies, so testing the numerous extension methods on it (both default, and added) can make for some ugly code. This simple code sample shows how to mock out the dependencies (ViewContext for one) using Moq.


Kicked By:
Drop Kicked By:
0
kicks

Is Moq too powerful.  (Unpublished)

Triggers discussion about mocking framework.


Kicked By:
Drop Kicked By:
0
kicks

MoQs Rox  (Unpublished)

My first impressions of the MoQ object mocking framework... Hell, my impressions with the first mocking framework I've ever used. tl;dr: Niiiiiice.


Kicked By:
Drop Kicked By:
0
kicks

Introduction to Mocking with Moq  (Unpublished)

Short screencast introduction to Mocking with Moq


Kicked By:
Drop Kicked By:
0
kicks

Moq: Why do we need yet another NET mocking framework?  (Unpublished)

"I've already argued in the past why I think forcing regular developers to learn and understand the difference between a stub, a fake, a "true" mock and a dynamic mock is unproductive and largely irrelevant for their TDD needs. Also, even though quite common in the mocking communit...


Kicked By:
Drop Kicked By: