Home > Net >  IntelliJ putting java test class in the wrong location
IntelliJ putting java test class in the wrong location

Time:02-10

I'm working on a Spring Framework process using IntelliJ IDEA. When I create a test from an existing class (Ctl Shift T from the class to be tested), IntelliJ puts the class into the corresponding package, but under test.

The thing is, the source class is under main/java. So I would expect the test that IntelliJ creates to end up by default under test/java. Is there some way in IntelliJ to specify that it should go there instead of under test?

CodePudding user response:

  •  Tags:  
  • Related