开发者

How to pass server urls to Watir Ruby unit tests run by Rake under Thoughtworks Cruise

开发者 https://www.devze.com 2022-12-13 21:19 出处:网络
I\'m currently building a suite of Watir tests for my .net web application. I have wire开发者_开发技巧d the watir tests into the Thoughtworks Cruise continuous build using Rake.

I'm currently building a suite of Watir tests for my .net web application.

I have wire开发者_开发技巧d the watir tests into the Thoughtworks Cruise continuous build using Rake.

What is the best way to pass a number of server urls to the watir tests so I can run the tests against a number of different environments? e.g. build, test, uat etc.

Cheers!


I store server URLs simply in a variable. If there are more than one, array could be useful. You can store them in a file (YAML format is popular). What is the problem you are trying to solve? URLs are changing a lot?

0

精彩评论

暂无评论...
验证码 换一张
取 消