Re: Connect to test-DB when running web tests?

2011-02-24 Thread Joshua Muheim
I managed to work out a solution for this, and I released it as a library so everyone can use it. I've written in my blog about it. - Why web tests using the development database are a bad thing: http://josh.ch/wordpress/?p=8 - Finally: use fixtures with your CakePHP web tests!:

Connect to test-DB when running web tests?

2010-09-07 Thread psybear83
Hi all I'd like my CakePHP app to connect to its test-DB when I run my web tests (CakeWebTestCase). How is this possible? As far as I understand CakePHP only connects to the test-DB when running the unit tests, is this true? This wouldn't really make much sense to me... Thanks for information,