开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜