Hi,
I want to write some unit tests to test my database logic that I have written. I want to run these tests against a test database that I can load fixtures into etc.
I'm trying to find a way to load a different set of database config settings when I bootstrap phpunit. The bootstrap file I am looking at is:
src/frapi/tests/bootstrap.php
I would like to find a way of loading an alternate configurations.xml file, for example testing.xml, when I bootstrap phpunit. Is there any way to do this? Is this something anybody else has tried?
Many thanks in advance,
dan