java - How do you change the default test location in Eclipse when using Maven? -
If I'm looking at src / main / java in the eclipse somewhere under a square (called MyComponent,) I'm right click it and choose new ...--> Other -> Juyet exam Eclipse is very clever to guess the name of the unit test class (MEComentatest), but it emphasizes inserting unit tests under src / main / java whether there is anything in Eclipse or M2 Eclipse which can be set So the default test location is src / test / java? Given that Maven is the standard way of working with, there should be a setting for this anywhere but I can not find it.
Good question, it also bothers me too I found it googled and suggested.
Actually, it says: I use an Eclipse plugin more unit, to help write the unit test. In addition to other features, it lets you configure the default source folder of tests.
Comments
Post a Comment