I like to organize unit test classes in functional areas using folders, just like the process I use to organize application classes.
However, the Create Unit Tests option in the right-click menu for the method breaks if the original target test class moves to a new location, apparently because the code generator is trying to create a new class of the same name in the root of the Unit Tests project.
I can fix the problem temporarily by moving the source test class to the root of the Unit Tests project before doing "Create Unit Tests ..." and then returning it to the original folder when the full code is generated, but this is awkward.
Is there a better way to handle this?
source
share