腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
首页
标签
nunit
#
nunit
关注
专栏文章
(0)
技术视频
(0)
互动问答
(2)
如何使用VS 2010中的msbuild运行nunit?
1
回答
msbuild
、
nunit
、
tfs
chenasxz
晚睡癌。
已采纳
需要MSBuild任务才能运行NUnit,如下三个教程所解释: 在TFS构建中使用NUnit和NCover 将NUnit测试集成到TFS构建中 带NUnit的MSBuild 只需要将目标添加到msbuild文件中,如下所示: <Target Name="RunTests"> <!-- Run Unit tests --> <CreateItem Include="$(OutDir)*.Tests.dll"> <Output TaskParameter="Include" ItemName="TestAssembly" /> </CreateItem> <NUnit ToolPath="..\Tools\NUnit" DisableShadowCopy="true" Assemblies="@(TestAssembly)" /> </Target>...
展开详请
赞
0
收藏
0
评论
0
分享
需要MSBuild任务才能运行NUnit,如下三个教程所解释: 在TFS构建中使用NUnit和NCover 将NUnit测试集成到TFS构建中 带NUnit的MSBuild 只需要将目标添加到msbuild文件中,如下所示: <Target Name="RunTests"> <!-- Run Unit tests --> <CreateItem Include="$(OutDir)*.Tests.dll"> <Output TaskParameter="Include" ItemName="TestAssembly" /> </CreateItem> <NUnit ToolPath="..\Tools\NUnit" DisableShadowCopy="true" Assemblies="@(TestAssembly)" /> </Target>
相关
产品
领券