Good question. I will take a look to see if we can load the configuration file from the class path. But be aware that the first one may always win if you have multiple files on the class path.
Optionally, I thought of using a JSON string to represent the configuration so that you can pass in different configurations to your tests very easily. Thanks, Jian On Fri, Mar 26, 2010 at 11:40 AM, Jonathan Share <[email protected]>wrote: > Hi, > > Is there a method of defining where tellurium will look for the > TelluriumConfig file? Or even better can you read it in from the > classpath (then we could drop it in src/test/resources)? > > The reason that I'm asking is that I'm using tellurium in a maven > multi-module project with the following structure; > > parent-project > \- commmon-tellurium-modules > \- smoke-tests > \- TelluriumConfig.groovy > \- excel-tests > \- TelluriumConfig.groovy > > In order to keep things as simple as possible for those running the > tests I want to allow them to run the tests in the following manner; > $ mvn clean test -Psmoke > or > $ mvn clean test -Pexcel > > where the build profile defines which test project gets pulled into > the build, however tellurium always tries to read the file from the > current working directory which fails when I'm standing in the > parent-project. > > Regards, > > Jonathan > > -- > 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]<tellurium-users%[email protected]> > . > For more options, visit this group at > http://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.
