Introduction to Mocking with Moq
In this episode we will learn how to use the Mocking framework Moq. This is an introductory overview of using Moq and is meant for those who are new to either mocking or Moq....
View ArticleIntroduction to the AutoMocking Container in StructureMap
In this episode you will take a look at how to use the AutoMocking Container that is part of StructureMap 2.5. You will be shown how to setup and use this container to reduce noise in your tests....
View ArticleIsolation Frameworks: Learning how to Stub & Fake Data
In this episode we are going to start learning how to use an isolation framework (Rhino Mocks) to help create simpler and more reliable unit tests. We will start off our learning experience by learning...
View ArticleIsolation Frameworks: Learning how to validate expectations
In this episode we are going to continue our series on learning how to use an isolation framework (Rhino Mocks) to help create simpler and more reliable unit tests. We will focus our learning this time...
View ArticleInteraction Based Testing with Rhino Mocks
Beyond the simplest scenarios, all objects had collaborators that they work with. This flies in the face of testing objects in isolation. This is the problem that mock objects were created to solve. In...
View ArticleIsolation Frameworks: Mocking Out/Ref Arguments
In this episode we are going to continue our series on learning how to use an isolation framework (Rhino Mocks) to help create simpler and more reliable unit tests. We are going to focusing this...
View ArticleIsolation Frameworks: Learning to use Partial Mocks
In this episode we are going to continue our series on learning how to use an isolation framework (Rhino Mocks) to help create simpler and more reliable unit tests. This time around we are going to be...
View ArticleTestable Software
In this talk David Evans and Mike Scott discuss the effect architectural decisions have on application testability. They assert that a testable architecture is inherently a better architecture, and...
View ArticleLearning how to use Manual Mocks for Testing
In this episode we are going to take a look at how to use manual mocks for testing. Often times when creating unit tests we need to work in isolation in order to cover the paths we are attempting to...
View ArticleMoles: Mocking the Un-Mockable
In this episode we are going to take at how to use Pex and Moles for .Net. Unit testing is great, but most free isolation frameworks require that your mocks implement an interface. But what do you do...
View ArticleThe State of the Art on .NET
Amanda Laucher and Josh Graham present at an introductory level some of the most important elements of the .NET ecosystem: F#, M, Boo, NUnit, RhinoMocks, Moq, NHibernate, Castle, Windsor, NVelocity,...
View ArticleAutoMoq Introduction
AutoMoq is an “auto-mocking” container that automatically creates for Moq any fake objects that are necessary to instantiate the class under test. You can access those fakes through the mocker or you...
View Article