我怎么可以并行运行NUnit的(硒网格)测试? [英] How can I run NUnit(Selenium Grid) tests in parallel?

查看:169
本文介绍了我怎么可以并行运行NUnit的(硒网格)测试?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前的项目使用NUnit的单元测试和驾驶硒书面UATs。开发者通常使用运行ReSharper的的测试运行在2003 VS.Net测试,我们的建设盒通过恶性踢他们。

My current project uses NUnit for unit tests and to drive UATs written with Selenium. Developers normally run tests using ReSharper's test runner in VS.Net 2003 and our build box kicks them off via NAnt.

我们想并行运行的UAT测试,使我们可以利用网格硒/ RCS的优势,使他们能够以更快的速度运行。

We would like to run the UAT tests in parallel so that we can take advantage of Selenium Grid/RCs so that they will be able to run much faster.

有没有人对如何可能实现任何想法?测试对多个浏览器环境Selenium测试没有自动写入重复试验和/或最佳实践?

Does anyone have any thoughts on how this might be achieved? and/or best practices for testing Selenium tests against multiple browsers environments without writing duplicate tests automatically?

感谢您。

推荐答案

有一直没有对这个问题做了大量的工作。我没有发现任何真正培训相关。

There hasn't been a lot of work on this subject. I didn't find anything really relevent.

不过,你的意思是很好的。大多数机器都时下更多的核心和不那么强大的内核相比,强大的一个核心CPU。

However, your point is well taken. Most machines nowadays have more cores and less powerful cores compared to powerful one core cpu.

所以,我没有找到一个微软博客的东西。该技术被称为PUNIT,并特别制作了测试多线程环境

So I did find something on a Microsoft blog. The technology is called PUnit and is made especially for testing multi-threaded environment.

这是尽可能接近你要求什么,我能找到:)

It's as close as possible to what you requested that I could find :)

您可以访问它适当的博客文章在那里:的http://blogs.microsoft.co.il/blogs/eyal/archive/2008/07/09/punit-parallel-unit-testing-in- making.aspx

You can visit it the appropriate blog post right there: http://blogs.microsoft.co.il/blogs/eyal/archive/2008/07/09/punit-parallel-unit-testing-in-making.aspx

更新:连接不再有效。在CodePlex上该项目已被删除

UPDATE2:这是对路线图NUnit的2.5。 参考

Update2: This is on the roadmap for NUnit 2.5. Reference

这篇关于我怎么可以并行运行NUnit的(硒网格)测试?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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