我想我在这里遗漏了一些东西。我安装了Tesdriven,然后安装了Gallio(从顶部开始的第三个链接 - Gallio 3.5 x64 安装程序)
然后我从 Nuget 安装了 mbunit dll,因为我不想从我的硬盘驱动器中包含一个 dll,因为它使项目很难移植到其他机器上。
但是,当我尝试运行示例测试时,testrunner 坚持我从硬盘中引用 dll。实际的错误消息是这样的:
It looks like you're trying to execute a Gallio/MbUnit unit test.
For Gallio v3.0.6 build 787 / Gallio v3.1 build 313 or above (recommended):
Please ensure that the directory containing your 'MbUnit.dll' reference also contains Gallio's
test runner files ('MbUnit.dll.tdnet', 'TDNet\Gallio.TDNetRunner.dll', 'Gallio.dll' etc.)
For earlier versions:
You need to install Gallio (after TestDriven.Net) using its MSI installer.
You can find Gallio downloads and support here:
http://www.gallio.org/
那么,有没有办法让 testrunner 只使用 nuget 包运行测试?