This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 180938

Summary: Annotations-enhancement for phpunits-annotations
Product: php Reporter: robo47 <robo47>
Component: PHPUnitAssignee: issues@php <issues>
Status: NEW ---    
Severity: normal CC: tmysik
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:

Description robo47 2010-02-18 16:29:56 UTC
PHP-Unit uses many special annotations like
@covers
@depends
@dataProvider
....

http://www.phpunit.de/manual/3.5/en/appendixes.annotations.html

Would be nice if it would be activate-able in the options in the phpunit-tab [only active in the projects assigned unittest-directory?] to show those annotations for code-completion including support of the additional params, like:

after @covers completion should show classnames (+ methods) [specialcases like <public> <!public>, <extended> ... if possible)
after @depends list with all methods which begin with test in the current class
after @dataProvider list with all (or only containing provider ?) methods in the current class

after @expectedException list with all Classes inheriting from phps Exception-class

after @outputBuffering, @backupGlobals, @backupStaticAttributes -> enabled or disabled

after @group a list of groups found in other classes if that's possible.


I know many ideas, don't know what is "easily" possible and what would need more work.
Comment 1 Filip Zamboj 2010-09-15 12:36:57 UTC
batch reassigning