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 189458 - Unit tests need to associate by more than just name
Summary: Unit tests need to associate by more than just name
Status: NEW
Alias: None
Product: php
Classification: Unclassified
Component: PHPUnit (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-12 17:19 UTC by nehalem
Modified: 2011-06-10 09:51 UTC (History)
2 users (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 nehalem 2010-08-12 17:19:56 UTC
Right now unit tests (php at least) are associated by name with the file they're testing against.  This works nicely in most cases but in at least Zend Framework you can easily have several of the same named controllers that you want to test against (ie IndexController).

This means that things like navigation and code coverage aren't generated right because it doesn't know what test case to use.

To get around this it would be either nice to manually link up a test case with a file or, perhaps better, to take in account the directory structure of your test folders and not just name.
Comment 1 Filip Zamboj 2010-08-13 13:10:55 UTC
P3 according to http://wiki.netbeans.org/BugPriorityGuidelines
Comment 2 Tomas Mysik 2011-06-03 10:19:35 UTC
Batch reassigning.
Comment 3 Tomas Mysik 2011-06-10 09:51:49 UTC
This is an enhancement, not a bug.

Thanks for reporting.