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 183720 - support for --group/--exclude-group CLI option in the project configuration
Summary: support for --group/--exclude-group CLI option in the project configuration
Status: NEW
Alias: None
Product: php
Classification: Unclassified
Component: PHPUnit (show other bugs)
Version: 6.x
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: issues@php
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-08 15:13 UTC by fqqdk
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 fqqdk 2010-04-08 15:13:21 UTC
PHPUnit has a nice feature called groups. It enables a developer to annotate test classes with a @group annotation, and this information can be used from the command line with the CLI options mentioned in the summary (not to mention from the phpunit.xml too) to include and exlude tests similar to test suites, but (IMHO) more flexible (no need for extra "configuration" files)

It would be nice to have a way to configure which groups to include/exclude on the project configuration window's PHPUnit tab, so on a project that sports a large codebase I could create multiple configurations I could use when dealing with a specific feature.
Currently I can only do it if I create separate phpunit.xml files or custom testsuites for configurations, but in this case I find this a little overkill.

More info about the group annotation:
http://www.phpunit.de/manual/current/en/appendixes.annotations.html#appendixes.annotations.group
The cli options are described here (but you know this already, I guess)
http://www.phpunit.de/manual/current/en/textui.html
Comment 1 Filip Zamboj 2010-09-15 12:37:36 UTC
batch reassigning