Failing in generating moles files for an assembly

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

Answers


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


Need Your Help

MySQL select matching ids, output to json

php mysql sql json

I'm using d3js on a visual display of user-generated content. Data that is being displayed is being pulled from the database with the standard three tables: entry, entry tags, entry-tag look-up tab...