I'm using BDD (Behat) with Yii. In order to make tests on separte db i'am using index-test.php in test base url. (index-test.php bootsrtaps testing db etc....)
But it's sad that you should delete index-test.php when in production.....so what about running tests in production (after deploment)

I could use somthing like post deploment script which would copy index-test.php for a moment, run all test and remove index-test.php.....but maybe there are other ways to achive thsi goal
