Is it possible to run Watir test in parallel?

故事扮演 提交于 2019-12-11 02:36:53

问题


I have simple Watir tests.
Each test is self-contained, no shared state or dependency of any kind. Each test open and close the browser.

Is it possible to run the test in parallel to reduce the time to run all tests? Even only 2 or 3 tests in parallel can reduce the time dramatically.


回答1:


Take a look at parallel_tests Ruby gem. Depending on your setup, running the tests in parallel could be as simple as this:

parallel_cucumber features/


来源:https://stackoverflow.com/questions/19208060/is-it-possible-to-run-watir-test-in-parallel

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!