0

I have been looking at Moles for testing my entity framework generated classes and followed the steps outlined in the video and also the tutorial help documents however I am failing at the first step.

I get the following error when adding a new moles file item ensuring that the name of the .moles file matches the assembly I have in the project.

The custom tool 'MolesGenerator' failed. Object reference not set to an instance of an object.

I have a separate test project that project references this other project I want to generate the moles assembly off.

All I have is done have installed the moles installer and I am using VS2008 with NUnit

Thanks

aqwert
  • 10,559
  • 2
  • 41
  • 61
  • Which version are you using, how do you try to add the .moles file? When you do it the usual way by right clicking on the dll reference you'd like to add a moles file for, you shouldn't have to worry about the name being wrong. – Gorgsenegger Jan 13 '12 at 06:04

1 Answers1

0

This looks like a bug in Moles. Please report it on the Pex and Moles MSDN forums.

Peli
  • 2,465
  • 16
  • 17