Re: Controlling the test environment

2012-01-20 Thread Daniel E. Renfer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/15/2012 06:18 PM, Matt Stump wrote: > > > Is there a way to set different values for global vars when running > tests as opposed to the development or production environment? I > need to control which database my tests for a noir project conne

Re: Controlling the test environment

2012-01-17 Thread Brian Marick
On Jan 15, 2012, at 5:18 PM, Matt Stump wrote: > Ideally I would like to do something like the following: for production and > development, if an environment variable is set connect to the database server > at the specified URL, if not then fall back to localhost. For test start up > an embed

Re: Controlling the test environment

2012-01-16 Thread Cedric Greevey
On Sun, Jan 15, 2012 at 6:18 PM, Matt Stump wrote: > Is there a way to set different values for global vars when running tests as > opposed to the development or production environment?  I need to control > which database my tests for a noir project connect to. Ideally I would like > to do somethi

Controlling the test environment

2012-01-16 Thread Matt Stump
Is there a way to set different values for global vars when running tests as opposed to the development or production environment? I need to control which database my tests for a noir project connect to. Ideally I would like to do something like the following: for production and development,