Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 239433

Summary: [JUnit] JUnit test suite wizard should use 'test suite' in generated code
Product: [Eclipse Project] JDT Reporter: Patrick Schonbach <schoenbach>
Component: UIAssignee: Markus Keller <markus.kell.r>
Status: CLOSED DUPLICATE QA Contact:
Severity: trivial    
Priority: P3 CC: daniel_megert
Version: 3.4   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Patrick Schonbach CLA 2008-07-03 08:38:09 EDT
I have two little suggestions for the JUnit test suite wizard:

1. In the generated code of this wizard, the test suite name, obviously hardcoded, is "Test for <package>". This is a somewhat misleading phrasing, since usually it is a collection of multiple tests. Therefore, I would suggest changing this to "Test suite for <package>".

2. It also should be possible to use this wizard to add other test suites that are located in the currently selected package or one of its subpackages to the test suite that is about to be generated.
Comment 1 Dani Megert CLA 2008-07-04 06:43:07 EDT
Patrick, please report one bug/feature request per bug report. We are treating this one to track the first issue. Please file a separate bug for the second one.

Markus, I guess it makes sense to change the generate comment.
Comment 2 Markus Keller CLA 2009-10-07 08:02:02 EDT
With bug 290913, the test name is now the declaring class name.

*** This bug has been marked as a duplicate of bug 290913 ***