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?


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.
But it doesn't, so I consider it as a bug, and I opened it here You may vote for the issue, I'll try to fix it soon.

Comment actions Permalink

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


Please sign in to leave a comment.