gpt4 book ai didi

visual-studio-2008 - 如何使用 Visual Studio 2008 标准版运行测试项目?

转载 作者:行者123 更新时间:2023-12-04 14:53:29 24 4
gpt4 key购买 nike

我目前正在运行 Visual Studio 2008 标准版,他们为该版本削减的项目之一是单元测试功能。结果,当我打开像 MVC 商务测试这样的示例项目时,其中一个项目将无法加载,因为它不知道要打开那种类型的项目。

我知道我可以排除或删除该项目,并且我知道 TestDriven.NET,但是是否有 VS2008 Standard 的插件可以执行 VS2008 Pro 附带的单元测试? TestDriven.NET 会这样做吗?或者测试是否与 NUnit 测试足够不同以至于这不起作用?

更新:澄清一下,我很好奇是否有任何程序或插件可以在 Visual Studio 2008 中运行测试项目。TestDriven.NET 无法加载或运行或允许 VS2008 打开测试项目,并且 Gallio 无法在 VS2008 IDE 中运行(虽然我非常感谢这些建议)

最佳答案

试试 Gallio正如 this blog post 中最好的解释作者:Richard Dingwall,对于 Visual Studio 支持,请使用 TestDriven.Net运行它。

this Google Groups post 中有一些可用的信息以及。

从加里奥的网站:

At present Gallio can run tests from MbUnit versions 2 and 3, MSTest, NBehave, NUnit, xUnit.Net, and csUnit. Gallio provides tool support and integration with CCNet, MSBuild, NAnt, NCover, Pex, Powershell, Resharper, TestDriven.Net, TypeMock, and Visual Studio Team System.

关于visual-studio-2008 - 如何使用 Visual Studio 2008 标准版运行测试项目?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/270221/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com