订购dll(项目) [英] Ordered the dlls (projects)

查看:60
本文介绍了订购dll(项目)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是b $ b我有一个Selenium C#解决方案,每个模块分成几个项目的MSTest。我正在使用部署/运行功能测试步骤在多个VM上并行运行TFS构建测试。


有没有可能设置项目的顺序如何被虚拟机选中?  (我不希望特定项目 - dll同时运行。)



谢谢!

解决方案

Hi Mihai Boz,


欢迎来到MSDN论坛。


>>

有没有可能设置项目的顺序如何被VM选中?


您想要指定测试运行时运行TFS构建,对吧?


如果我的理解是正确的,我们无法直接设置项目的顺序使用TFS构建。


但是,也许您可​​以在Ordered Test项目中添加测试,然后在TFS构建中运行有序测试。参考博客"订购
TFS Build中的测试
"。


并且,请看看以下主题可能对您有所帮助:




如何使用Vnext构建:有序测试,分发测试,收集结果




如何在自动
测试中更改测试执行的顺序建立?


另外,如果你想了解更多关于TFS构建自动化的信息,我建议你去
Stack Overflow
开发者社区
以获得专业人士来自MS支持工程师对TFS的回答。因为这个论坛正在讨论并提出有关使用新的Visual Studio测试资源管理器,单元测试提供商和一般单元测试,假货,存根和模拟
技术的问题。


感谢您的理解。


问候,


Judyzh


Hi,
I have an Selenium C# solution with MSTest split in several projects per module. I am running the tests from a TFS build in parallel on several VMs using Deploy/Run functional tests steps.

There is any possibility to set of an order of the projects how they will be picked up by the VMs?  (I don-t want specific projects-dlls to run simultaneous).

Thank you!

解决方案

Hi Mihai Boz,

Welcome to the MSDN forum.

>> There is any possibility to set of an order of the projects how they will be picked up by the VMs?

You want to specify a test run while run with TFS build, right?

If my understanding is correctly, we could not directly to set of an order of the projects use TFS build.

But, perhaps you could add your tests in Ordered Test project, then, run ordered test in TFS build. Reference blog "Ordered Tests in TFS Build".

And, please have a look at following thread might helpful for you:

# How to use Vnext build: ordered tests, distribute test, collect results

# How can I change the order of the execution of tests in an automated test build?

In addition, if you want to know more information about TFS build automation, I suggest you go to Stack Overflow or Developer Community to get the professional answer from MS support engineers for TFS. Because this forum is discussing and ask questions about using the new Visual Studio Test Explorer, Unit Testing providers and general Unit Testing, fakes, stubs and mocking techniques.

Thanks for your understanding.

Regards,

Judyzh


这篇关于订购dll(项目)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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