Community
Participate
Working Groups
It would be nice if a default name would be specified in the Name field of the New JUnit Test Case wizard when you choose a "Class under test". This default would only be filled in if the Name field was not specified before you choose a class to test. Example behavior: 1) Start the "New JUnit Test Case" wizard 2) Hit Browse at the Class under test 3) Choose foo.bar.ClassXYZ 4) Choose OK 5) The Class under Test field becomes foo.bar.classXYZ and the Name of the class becomes one of: {ClassXYZTest, ClassXYZTestCase, ...} It would be nice if the deafult test name too was customizable, so you could specify "arbText${ClassName}arbText" as your class name.
This is a duplicate of bug 28723. Adding my vote here though, since the other one is WONTFIX for unclear reasons and I can't re-open it.
> This is a duplicate of bug 28723. Nope, this bug requests: 1. Initialize test class name after selecting a class under test => We can do that if someone supplies a patch 2. Customizable default test name => This is a dup of bug 28723, and we won't add yet another preference for that
Created attachment 175192 [details] 105817.patch