phpstorm-plugin icon indicating copy to clipboard operation
phpstorm-plugin copied to clipboard

Support custom test namespace

Open vdechenaux opened this issue 7 years ago • 2 comments

See https://github.com/atoum/phpstorm-plugin/issues/11

~Based on #82 . Please review it first :)~

Add support to classes with a custom namespace ,with @namespace annotation or $this->setTestNamespace() call in constructor (in the class directly, on in parent(s))

For the method call, it only add the support for "simple" calls, with a string as parameter. Variables are not yet supported (I plan to do this in another PR) Regex in namespace is also not yet supported (Another PR incoming)

~It doesn't add support for alternative namespaces like test\unit or ( another PR incoming )~ => Added in e28cbca3

vdechenaux avatar Oct 01 '17 14:10 vdechenaux

nice

Grummfy avatar Oct 01 '17 15:10 Grummfy

I have edited the description ( last line ) and the PR

vdechenaux avatar Jan 24 '18 23:01 vdechenaux