run phpunit bootstrap for current file

I've got a bootstrap.php that sets up things like autoloaders and environment variables for my PHPUnit tests (which I point to inside my PHPUnit XML file). This works fine if I'm running a run configuration - however, sometimes I just want to run a single file without having to create a separate run configuration for it. Is there anyway I can specify a run configuration for whatever file is currently selected?

Thanks.

2 comments
Comment actions Permalink

Yes, I see the point.
Honestly to say, what I think must work, is to mention your xml file in default run configuration.
temp.png
But it doesn't, so I consider it as a bug, and I opened it here http://youtrack.jetbrains.net/issue/WI-1387. You may vote for the issue, I'll try to fix it soon.

0
Comment actions Permalink

I've fixed it. It'll appear in next week eap. Thanks for reporting!

0

Please sign in to leave a comment.