Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我一直在寻找Moles来测试我的实体框架生成的类,并按照视频中概述的步骤以及教程帮助文档中的步骤进行操作,但是我在第一步中失败了。
添加新的 moles 文件项时出现以下错误,以确保 .moles 文件的名称与我在项目中的程序集匹配。
自定义工具“MolesGenerator”失败。你调用的对象是空的。
我有一个单独的测试项目,该项目引用了我想生成 moles 程序集的另一个项目。
我所做的只是安装了 moles 安装程序,并且我正在使用带有 NUnit 的 VS2008
谢谢
这看起来像 Moles 中的一个错误。请在 Pex 和 Moles MSDN 论坛上报告。