1

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

I have wired 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!

4

1 回答 1

0

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?

于 2009-12-07T14:06:24.087 回答