Re: Unit testing
Re: Unit testing
- Subject: Re: Unit testing
- From: Logi Helguson <email@hidden>
- Date: Fri, 10 Oct 2008 14:06:33 +0000
- Thread-topic: Unit testing
Tanks all, my way was working after all, I just hadn't changed all the data
in the development DB as I thought.
It's been mentioned more than once to change the default connection to the
development DB and hopefully we'll get to it before disaster strikes ;)
Þann 10/10/08 1:25 PM, skrfaði "Mike Schrag" <email@hidden>
eftirfarandi:
>> you can add a listener in your Application class.
> Or use Wonder and just set it with Properties ... That said, I HIGHLY
> recommend (and you can put this on my best practices list) that you
> never make the default connection dictionary in your model the
> production database. This is the setup for a complete disaster since
> (as you're seeing) the default state will be to mess with your
> production data. Make your default connection dictionary at most a
> development database (like a http://127.0.0.1/MyDatabase) and
> Properties-set your production config as a deployment config.
>
> ms
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
Með vegsemd og virðingu,
Logi Helgu
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden