如何在 Team City 中运行所有 NUnit 测试?

编程入门 行业动态 更新时间:2024-10-26 11:29:35
本文介绍了如何在 Team City 中运行所有 NUnit 测试?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我们每次提交都使用 TeamCity 6.0 构建 VS C# 解决方案.构建完成后,将运行另一个测试 TC 项目.为了让开发人员可以添加/删除/编辑 VS 单元测试项目,如何让 TeamCity 使用 sln 文件或搜索测试 dll?我不想每次将新的测试项目添加到 VS 解决方案时都必须编辑构建.从以下位置运行测试: ***Test*.dll 似乎不起作用,它只获得第一个测试(当前失败)

We are using TeamCity 6.0 to build VS C# solutions each commit. Once the build is complete, a different test TC project runs. So that developers can add/remove/edit VS unit test projects, how can I make TeamCity use the the sln file or search for test dll's? I don't want to have to edit the build each time a new test project is added to the VS solution. Run tests from: ***Test*.dll Doesn't appear to work, it only get s the first Test (which is currently failing)

推荐答案

已修复 :) -RTFL(阅读日志!)从以下位置运行测试: **indebug*Test*.dll

Fixed :) - RTFL (Read the log!) Run tests from: **indebug*Test*.dll

更多推荐

如何在 Team City 中运行所有 NUnit 测试?

本文发布于:2023-11-17 05:32:24,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1609004.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:测试   如何在   City   Team   NUnit

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!