|
|
Hi,
I have an assembly of tests that use Selenium Webdriver. I need to be able to use a local Webdriver instance when the developer runs the tests on their machine, and a remote Selenium Grid when they run via our continuous integration build. I'd like to do
this by supplying a Selenium URL as a parameter to the test run, preferably by some kind of command line switch. How do I do this using xUnit?
Thanks!
|
|
Coordinator
Jan 30 at 1:50 PM
|
The only way you could do this today is by way of configuration files. If your DLL has a .dll.config file sitting next to it, we pick that up automatically for the AppDomain when running. In addition, you can specify alternate config files from the command
line of the command line runner.
|
|
|
|
(Obvious but I'll say it anyway) Don't forget to consider environment variables as a mechanism for passing variable environment-related parameters into a test run.
|
|