MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
robvarga
Post subject: feature request Maven4ME: smarter new JUnit test  PostPosted: Oct 23, 2012 - 09:16 AM
Quality Board
Quality Board


Joined: May 23, 2003
Posts: 351

Hi,

I have yet another feature request which bugs me for awhile now...

It would be quite convenient to make file placement when adding a JUnit test for a class a bit smarter. Provided that a project is maven-enabled, then if the to-be-tested class was in source folder src/main/{whatever}, then the default value for the source folder of the new test would default to src/test/{whatever} if it exist, or src/test/java if that does not exist, or possibly have a radio button asking for choosing between src/test/{whatever}, src/test/java and src/main/java defaulting to the narrowest matching test folder present.

Best regards,

Robert
 
 View user's profile Send private message  
Reply with quote Back to top
support-swapna
Post subject:   PostPosted: Oct 23, 2012 - 11:54 AM



Joined: Nov 11, 2010
Posts: 2149

Robert,

Maven4MyEclipse is based on M2Eclipse. Looking at this enhancement request against M2Eclipse, such a change seems unlikely :
https://issues.sonatype.org/browse/MNGECLIPSE-1499?actionOrder=desc

Sorry for inconvenience caused.

_________________
Swapna
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
Support-Brian
Post subject:   PostPosted: Oct 23, 2012 - 03:04 PM
Moderator
Moderator


Joined: Aug 21, 2004
Posts: 2512

Rob,

As pointed out in the M2Eclipse bug report, this is something that the JUnit team would have to undertake. Since we do not include or modify JUnit currently, it would not be possible for us to make this available in MyEclipse.

It is an interesting/valid request though and should not be too difficult for the JUnit team, however, they would need to have some level of "Maven" awareness. Perhaps you could file a bug or enhancement request with them.

_________________
Brian
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits