visual-studio - 是否有适用于 NUnit 的 Visual Studio 测试项目模板?

标签 visual-studio nunit project-template

是否有用于 NUnit 的官方 Visual Studio 测试项目模板?如果不是,那会是什么样子?

最佳答案

没有官方的。只需启动一个类库项目并将 nUnit 程序集导入其中。

虽然有很多模板如何文章 - here是一个。

我们可以使用 this单元测试的官方模板也是如此。

关于visual-studio - 是否有适用于 NUnit 的 Visual Studio 测试项目模板?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2443813/

相关文章:

.net - NUnit 测试在 OpenCover 中失败

c# - $safeprojectname$ 在 VSIX 包中抛出错误

git - 尝试推送 git 并接收 "could not read Username for ' https ://github. com':终端提示已禁用”

c++ - 如何在 Visual Studio 中使用默认的 C++ 字符串构造函数?

c# - 通过 Visual Studio 2008 运行测试时如何修改 Web.config 中的连接字符串?

parallel-processing - NUnit v3 alpha : trying to get parallel tests to work

html - 有没有办法显示垂直线 HTML 源 VS2013?

c# - VS 2010 是否允许我在 C# 中使用新的 async 和 await 关键字?

compilation - 如何在 MonoDevelop 2.8 项目模板 (.xpt.xml) 中指定条件编译符号?

c# - 如何在 visual studio 项目模板中添加引用和 nugets?