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.
我正在使用带有 NUnit 和 WatiN 的 Specflow 进行一些验收测试,并且我所有的 Specflow 测试都运行了两次。由于他们使用 WatiN 浏览我的网站,因此需要花费大量额外时间。
到目前为止,我只有一个基本的 specflow 功能 - 基本上我采用了示例功能,更改了一些名称并实施了这些步骤。
为什么所有测试都运行两次?
编辑:也许我应该补充一点,我正在使用 R# 测试运行器。
你有安装 Gallio 吗?它可以注册自己以运行 nunit 测试以及 resharper 的内置运行器,因此测试确实会运行两次。您可以在 ReSharper 的选项中选择您想要的跑步者