Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Variables in PHPUnit Run Configuration(Unable to use {resource_loc} variable in PHPUnit run configuration)
Variables in PHPUnit Run Configuration [message #1778598] Mon, 18 December 2017 12:03
Eli Coten is currently offline Eli CotenFriend
Messages: 8
Registered: August 2015
Junior Member
I'm trying to create a run configuration that always runs the current test class in PHPUnit using my custom bootstrap and PHPUnit configuration XML.

I would like to use the "Script Arguments" section to specify the path to the current test class which PHPUnit will interpret as the class to run.

All seems fine however when I try to run it I get

Variable references empty selection: ${resource_loc}

Could this be related to

I looked at trying to just use the Run AS -> PHPUnit configuration but I couldn't see a way to set the default PHPUnit configuration or custom bootstrap as a script argument, with the result that it the tests fail due to not having been correctly bootstrapped.

Any ideas?
Previous Topic:How to remove old versions of Eclipse plugins?
Next Topic:PHPUnit timeout
Goto Forum:

Current Time: Wed Feb 01 04:02:06 GMT 2023

Powered by FUDForum. Page generated in 0.03124 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top