How does one configure PHPUnit to log to the test database?
Question
I am trying to work out how to configure PHPUnit to use the "test database" that is described on this wiki page: http://www.phpunit.de/wiki/TestDatabase However I can't find any documentation on how to enable and configure it.
Has Anyone got any ideas?
Thanks
Solution 2
Seems I can answer this one my self!
After doing a google for "phpunit depreciated" I came across the following changelog: http://www.phpunit.de/changeset/5167
Thought I'd leave the question up in case anyone else got confused.
OTHER TIPS
Chapter 9 has a quick example of initializing your test database. If you meant how do you go about configuring MySQL (or any other database, for that matter), just let us know and we can get that info for you too.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow