This Question is Answered

2 "helpful" answers available (2 pts)
8 Replies Last post: May 25, 2008 12:18 AM by M. J. Milicevic  
Norris Shelton Apprentice 674 posts since
Aug 29, 2002
Currently Being Moderated

May 15, 2008 1:45 AM

Need help with JUnit plugin for a Maven project

Does anyone know the Pattern to use to have the test classes placed in Maven's test directory?  Everytime I try it, it is invalid.

Anton Makeev JetBrains 1,094 posts since
Dec 19, 2006
Currently Being Moderated
May 15, 2008 6:45 PM in response to: Norris Shelton
Re: Need help with JUnit plugin for a Maven project

Could you please explain the problem in details?

Anton Makeev JetBrains 1,094 posts since
Dec 19, 2006
Currently Being Moderated
May 16, 2008 11:05 AM in response to: Norris Shelton
Re: Need help with JUnit plugin for a Maven project

You mean 'Create Test' intention?

I still don't understand where you want to put test files to. Could you give me an example?

Anton Makeev JetBrains 1,094 posts since
Dec 19, 2006
Currently Being Moderated
May 19, 2008 4:22 PM in response to: Norris Shelton
Re: Need help with JUnit plugin for a Maven project

You are probably using the previous 8.0 EAP.

In the last EAP you are asked to choose a destination folder if there are several.

Anton Makeev JetBrains 1,094 posts since
Dec 19, 2006
Currently Being Moderated
May 20, 2008 12:05 PM in response to: Norris Shelton
Re: Need help with JUnit plugin for a Maven project

It seems that your JUnit plugin is incompatible with the build: PsiPanager.findClass has been moved to JavaPsiFacade.

M. J. Milicevic Apprentice 747 posts since
Aug 22, 2002
Currently Being Moderated
May 25, 2008 12:18 AM in response to: Norris Shelton
Re: Need help with JUnit plugin for a Maven project

this works for me:

 

src/main/$DIRECTORY$/$CLASS$

 

src/test/$DIRECTORY$/Test$CLASS$

More Like This

  • Retrieving data ...