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
This looks like a bug in Moles. Please report it on the Pex and Moles MSDN forums.
精彩评论