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

Quote:
Variable references empty selection: ${resource_loc}


Could this be related to https://bugs.eclipse.org/bugs/show_bug.cgi?id=460415?

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:How to align fields into columns
Goto Forum:
  


Current Time: Tue Apr 24 01:25:54 GMT 2018

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

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