Community
Participate
Working Groups
When I'm working on a package mypackage, I usually put all my JUnit test cases in package mypackage.test. When I use the wizard to create MyClassTest (where MyClass is the class I'm testing), I change in the dialog the package where MyClassTest belongs from mypackage to mypackage.test. The wizard should add 'import mypackage.MyClass;' to the generated code, instead of doing nothing like it does now.
Still exists under M5 2.1. Given the current schedule we have to postpone > 2.1
The generated class (mypackage.test.MyClassTest) does not have a reference to the tested class (mypackage.MyClass) yet. If the compiler setting "Unused imports" is set to Warning (default) or Error the generated code would produce an Warning/Error. Generated code should not contain "Warnings/Errors". Once you use the class ... one Ctrl+Space and the requested import is there ,)
As of now 'LATER' and 'REMIND' resolutions are no longer supported. Please reopen this bug if it is still valid for you.