Forum Discussion
tbom
13 years agoContributor
Why not make a "testcase" that changes the configuration?
What I have done is having a central host, which the testsuite is querying about it's configuration, This is done as a standard SOAP webservice. I then have a script, which is run as the very first "testcase", which configures all the project (suite) variables.
This doesn't need to be a webservice, it could also be a textfile on each test execution host, that the script could load with information about where it is running, and what to connect to.
So no need to change the configuration files directly before starting up the testrun.
/ Thomas
What I have done is having a central host, which the testsuite is querying about it's configuration, This is done as a standard SOAP webservice. I then have a script, which is run as the very first "testcase", which configures all the project (suite) variables.
This doesn't need to be a webservice, it could also be a textfile on each test execution host, that the script could load with information about where it is running, and what to connect to.
So no need to change the configuration files directly before starting up the testrun.
/ Thomas