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 - Annotations-enhancement for phpunits-annotations
Summary: Annotations-enhancement for phpunits-annotations
Status: NEW
Alias: None
Product: php
Classification: Unclassified
Component: PHPUnit (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal with 2 votes (vote)
Assignee: issues@php
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-18 16:29 UTC by robo47
Modified: 2010-09-17 05:31 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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