How to define the directory structure of PHPUnit tests?

By default the create test option offers to create test in the same folder as the class itself and I assume it searches for it in the same place when I select go to Test.

Where can I change this behaviout (eg I want the test directories to mirror my application directory structure)?

3 comments
Comment actions Permalink

Hello raveren,

By default the create test option offers to create test in the same folder as the class itself


There's no functionality to tweak this, please file a feature request at http://youtrack.jetbrains.net/issues/WI#newissue=yes

and I assume it searches for it in the same place when I select go to Test.

Currently there's no 'Go to test' support for PHPUnit, please watch/vote for http://youtrack.jetbrains.net/issue/WI-2230 to be notified when it's implemented.

Regards,
Kirill

0
Comment actions Permalink

Currently there's no 'Go to test' support for PHPUnit

However there's an option in go to menu, go to Test, but it hasn't yet worked for me..

0
Comment actions Permalink

Yes, this is IDEA platform action common for all the languages - frankly, it should be disabled if there's no 'Go to test' implementation for the language that is currently in the context: http://youtrack.jetbrains.net/issue/WI-2852.

Regards,
Kirill

0

Please sign in to leave a comment.