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 62724

Summary: Move class or cut/paste of class into different package should also move unit tests if present
Product: java Reporter: _ tboudreau <tboudreau>
Component: JUnitAssignee: junit-issues@java <junit-issues>
Status: RESOLVED DUPLICATE    
Severity: blocker CC: ceklock
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description _ tboudreau 2005-08-20 22:10:32 UTC
If I have pkg.A and [tests]pkg.ATest exists, and I move pkg.A to another project or move pkg.A to 
pkg.other.A, the refactoring should at least offer to move the unit tests to that package too (especially 
if the tests rely on package private methods).
Comment 1 Martin Matula 2005-08-20 22:37:09 UTC
This is an enhancement rather than a defect. IMO should be provided by a junit
support module in form of a refactoring plugin. Reassigning.
Comment 2 pribyl 2008-04-30 16:46:48 UTC

*** This issue has been marked as a duplicate of 52960 ***