I’m dealing with a weird problem where a few of my tests are dying from exceptions when run inside of SimpleTest, but I’m unable to reproduce the problem outside of the SimpleTest environment. In particular, it appears that exceptions that I’m catching in my module code get intercepted by SimpleTest before they even leave my try block.
I’m able to debug my test script using xdebug, but for whatever reason, I can’t get SimpleTest to pass on the debugger info to my code when it’s running under SimpleTest. So when SimpleTest calls $test->run()
on one of my tests, the test starts up in its own, SimpleTest-unaware process. And my debugger sits on its hands (they have hands, right?) and runs as if everything is copacetic.
Is there some option in SimpleTest that will allow me to get the XDEBUG_CONFIG environment variable passed on to the subprocesses that SimpleTest spawns?