Good suggestion, Rob.

Right now, Tellurium supports to overwrite the configuration file name
with System property.

      String fileName =
System.properties.getProperty("telluriumConfigFile");
      if(fileName == null)
        fileName = env.configFileName;

With your suggestion, Tellurium could support the following
configuration chain

Configuration File
       |
JSON configuration String
       |
System properties

With the highest overwrite priority for system properties.

I will create an task and add this support in 0.8.0.

Thanks,

Jian



On May 20, 12:51 am, Robert Fletcher
<[email protected]> wrote:
> Hi
>
> Is it possible to override config values from TelluriumConfig.groovy
> with system properties? What I'm specifically interested in doing is
> specifying the embedded Selenium server port and the browser, but
> theoretically other things could be useful as well.
>
> With the Hudson CI server I can allocate a random open port that I
> could then assign for use as the Selenium server port. This means
> multiple jobs can run simultaneously without clashing on port 4444.
> Similarly the ability to have a system property override the browser
> would mean developers working on different machines (especially since
> Firefox 3.6 on Mac is not supported) could run in their preferred
> browser, also continuous integration jobs can run the tests against
> different browsers to ensure compatibility.
>
> Cheers,
> Rob
>
> --
> You received this message because you are subscribed to the Google Groups 
> "tellurium-users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group 
> athttp://groups.google.com/group/tellurium-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"tellurium-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tellurium-users?hl=en.

Reply via email to