This project is read-only.

Bringing Mockery into your Unit Test Project

These instructions are for Mockery v0.8

Assuming you have the following components already referenced in your UnitTest project
  • RhinoMocks
  • Autofac version
  • CommonServiceLocator.Autofac located in autofac contrib

Add the following references in your unittest project:
  • Mockery.Core
  • Microsoft.Practices.ServiceLocation (CommonServiceLocator)
  • System.ComponentModel.Composition (MEF)

Add your associated Ioc CommonContainer:
  • In this case, add CommonContainer.Mockery.Autofac

You are now ready to start using Mockery to build your unit tests.

Last edited Jan 1, 2010 at 2:36 PM by sdhebert, version 2


No comments yet.