简体   繁体   English

并行运行Windows应用程序测试

[英]Running windows app tests in parallel

The problem I am facing is a unique one.. I have set up a testing suite for a windows app using LeanFT and NUnit. 我面临的问题是一个独特的问题。我已经使用LeanFT和NUnit为Windows应用程序设置了一个测试套件。 At this point, I have around 100 stable UI tests that I have automatically running nightly on a VM I have configured. 至此,我大约有100个稳定的UI测试,它们已在每晚配置的VM上自动运行。

The problem is, I do not think there is an out of the box solution for running tests in parallel across multiple machines. 问题是,我不认为有一种现成的解决方案可以在多台计算机上并行运行测试。 When the tests are kicked off of TFS, they run on a single machine. 从TFS开始测试后,它们将在一台计算机上运行。 What I want is for tests to be passed out 1 at a time to any available machine. 我想要的是一次将测试1传递到任何可用的计算机。

I know I can "fake" this in a sense by having two different build definitions run at the same time with a different set of tests, but this is not what I want to do. 我知道我可以通过使用两个不同的测试集同时运行两个不同的构建定义来从某种意义上“伪造”这一点,但这不是我想要做的。 I want it to work like an actual grid and pass out tests like the selenium grid does. 我希望它像实际的网格一样工作,并像硒网格一样通过测试。 Has anyone had any luck with something like this by not faking it? 有没有人因为不伪造而对这种事情有好运?

Note: we do not use Jenkins, we do everything out of TFS. 注意:我们不使用Jenkins,而是使用TFS进行所有操作。

Have you looked at https://blogs.msdn.microsoft.com/devops/2016/10/10/parallel-test-execution/ ? 您是否看过https://blogs.msdn.microsoft.com/devops/2016/10/10/parallel-test-execution/

Team Foundation Server does have 'build agents' like Jenkins does. Team Foundation Server确实像Jenkins一样具有“构建代理”。 While I'm not familiar with this, it appears to be close to what you are looking for. 虽然我对此并不熟悉,但它似乎与您要查找的内容很接近。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM