Visual Studio的在线:多个构建控制器 - 如何添加一个新的构建器 [英] Visual Studio Online: Multiple build controllers - how to add a new build controller

查看:633
本文介绍了Visual Studio的在线:多个构建控制器 - 如何添加一个新的构建器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有托管的Visual Studio在线(原TFS服务)

I have multiple projects hosted on Visual Studio Online (Formerly TFS Service)

对于我的解决方案之一,我创建了一个运行托管生成控制器的的xUnit 运行我所有的单元测试。这工作得很好,每次为我在code检,持续集成踢,建立我的解决方案,并运行我的测试。

For one of my solutions, I have created a hosted build controller that runs xUnit to run all my unit tests. This works fine as everytime I check in my code, Continuous Integration kicks in, building my solution and runs my tests.

这是在构建器弹出的解决方案A (从VS2012)

This is the build controller popup in Solution A (from VS2012)

在属性页:

现在我试图使用 NUnit的作为另一个解决方案B ,但我似乎无法推测如何创建另一个构建控制器。当我打开构建器窗口中的解决方案B ,我看到我看到了同样的事情解决方案A ,我无法找到一个添加选项。

Now I'm trying to use nUnit for another Solution B, but I can't seem to figure how I can create another build controller. When I open the build controller window in Solution B, I see the exact same thing that I see in Solution A and I can't find an "Add" option.

我怎么能有多个版本的控制器,这样我可以用不同的测试框架不同的解决方案。

How can I have multiple build controllers so that I can use different test frameworks for different solutions.

推荐答案

你能不能只使用具有访问这两个NUnit的和的xUnit组件1个内置控制器。为什么路径的自定义组件不会更改为:$ / Asis.Ess.BuildController /

Can you not just use one Build Controller that has access to both NUnit and XUnit assemblies. Why not change the path to custom assemblies to: $/Asis.Ess.BuildController/

那么你的构建可以同时使用的xUnit或NUnit的组件和没有必要有多个构建控制器和/或代理商。

Then your builds can use both Xunit or Nunit assemblies and no need to have multiple build controllers and/or agents.

这篇关于Visual Studio的在线:多个构建控制器 - 如何添加一个新的构建器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆