unitTest

Compatible with  IntelliJ IDEA
02.03.2010
70 169
Simplify creation and maintenance of junit tests

Download plugin

Version

Update date

Anonymous
06.05.2015
How to invoke this and what does it do?
Anonymous
26.01.2011
Would be nice if source code was available?
I would like to do something similar for SalesForce Apex classes.
Anonymous
16.12.2010
Unfortunately the links to intellij.net page of this plug-in are gone. It would be nice if there were a place for the sources and where the users can collect their feedback/issues for this very useful plug-in.
18.11.2010
Nice to have, would be a way to jump to the junit test method that is already created. A link symbol like the one used to create new test methods...
Anonymous
07.10.2010
I get an exception in the IDE whenever utest plug-in is activated.


null
java.lang.NullPointerException
at org.intellij.plugins.junit.config.JUnitTestConfiguration.stopUntestedMethodHighlighter(JUnitTestConfiguration.java:85)
at org.intellij.plugins.junit.config.JUnitTestConfiguration.projectClosed(JUnitTestConfiguration.java:48)
at com.intellij.openapi.project.impl.ProjectImpl.projectClosed(ProjectImpl.java:324)
at com.intellij.openapi.project.impl.ProjectImpl.access$300(ProjectImpl.java:66)
at com.intellij.openapi.project.impl.ProjectImpl$MyProjectManagerListener.projectClosed(ProjectImpl.java:350)
at com.intellij.openapi.project.impl.ProjectManagerImpl$2.projectClosed(ProjectManagerImpl.java:144)
at com.intellij.openapi.project.impl.ProjectManagerImpl.fireProjectClosed(ProjectManagerImpl.java:940)
at com.intellij.openapi.project.impl.ProjectManagerImpl.closeProject(ProjectManagerImpl.java:865)
at com.intellij.openapi.project.impl.ProjectManagerImpl.closeProject(ProjectManagerImpl.java:847)
at com.intellij.ide.impl.ProjectUtil.closeProject(ProjectUtil.java:89)
at com.intellij.ide.impl.ProjectUtil.openProject(ProjectUtil.java:147)
at com.intellij.ide.RecentProjectsManager.doOpenProject(RecentProjectsManager.java:48)
at com.intellij.ide.RecentProjectsManagerBase$ReopenProjectAction.actionPerformed(RecentProjectsManagerBase.java:229)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:218)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:81)
at com.intellij.ui.plaf.beg.BegMenuItemUI.doClick(BegMenuItemUI.java:496)
at com.intellij.ui.plaf.beg.BegMenuItemUI.access$300(BegMenuItemUI.java:43)
at com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:516)
at java.awt.Component.processMouseEvent(Component.java:6263)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3255)
at java.awt.Component.processEvent(Component.java:6028)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:610)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:496)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:368)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Anonymous
13.08.2010
it is very wonderful!
Please update to support the JUnit4,Thanks
Anonymous
14.07.2010
Hi Shadow12,

Can you please make work with junit 4?

Good work!
16.04.2010
Finally made it work by removing default shortcuts in IntelliJ "Go to" menu.

But I still have one problem.

I can switch from my class to the test class, but when I try to switch back to my class, I get this error message :
"Current class ... does not comform to the defined test organization"

My pattern is the same one that was working back in IntelliJ 7 with the old plugin version.

Tested class : src/$DIRECTORY$/$CLASS$
Test class : test/$DIRECTORY$/$CLASS$Test
16.04.2010
How can I make it work like in IntelliJ 7?

Back in 7, using CTRL+SHIFT+T would use templates set in unitTest plugin. Now the shortcut seems to be a feature of IntelliJ 9.
Anonymous
25.03.2010
How to use in junit4?

I get the error "Current class ... does not comform to the defined test organization"
02.03.2010
Just to inform everyone as the change-notes do not seem to be appearing in the intelliJ repository manager. The latest version of 1.04 supports intelliJ 9.0.1
02.03.2010
I apologise everyone, but I seem to have 2 views onto this repository [very strange] one has version 1.04 to support intelliJ Idea 9 the other does not. As i have now uploaded to both views [still puzzled] hopefully all those who want an update will get it :-(
02.03.2010
I have uploaded a new version to support intelliJ9 i am not sure why it has not yet appeared here, i will verify the plugin xml is correct and re-upload 02-03-2010
26.02.2010
I am using this plugin since IntelliJ 3 or 4 (I can't remember) and I really love it. It's a shame that the options the plugin provides are not included in IntelliJ 9.

I would really love the author to make an update so it would support IntelliJ 9.
Please  sign in  to leave a comment.