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

编程入门 行业动态 更新时间:2024-10-26 13:34:34
本文介绍了如何在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(读取日志!) 运行测试: ** \bin\debug\ * Test * .dll

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

更多推荐

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

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

发布评论

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

>www.elefans.com

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