如何在Team City中运行所有NUnit测试? [英] How can I run all NUnit Tests in Team City?
问题描述
我们使用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测试?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!