php - PHPUnit in Eclipse cannot create test case from existing class -


i have installed pti plugin in eclipse luna in order use phpunit. whenever try create test case existing php class (right click on php file -> new -> new phpunit test case) dialog doesn't work (the "finish" button seems nothing):

enter image description here

after checking eclipse log found error:

org.eclipse.ui error thu jul 23 19:09:39 cest 2015 unhandled event loop exception

java.lang.nosuchmethoderror: org.eclipse.php.internal.debug.core.preferences.phpdebuggersregistry.getdebuggerconfiguration(ljava/lang/string;)lorg/eclipse/php/internal/debug/core/debugger/abstractdebuggerconfiguration; @ org.phpsrc.eclipse.pti.core.launching.phptoollauncher.createconfiguration(phptoollauncher.java:376) @ org.phpsrc.eclipse.pti.core.launching.phptoollauncher.findlaunchconfiguration(phptoollauncher.java:265) @ org.phpsrc.eclipse.pti.core.launching.phptoollauncher.launch(phptoollauncher.java:136) @ org.phpsrc.eclipse.pti.core.launching.phptoollauncher.launch(phptoollauncher.java:117) @ org.phpsrc.eclipse.pti.tools.phpunit.core.phpunit.createskeleton(phpunit.java:178) @ org.phpsrc.eclipse.pti.tools.phpunit.core.phpunit.createtestskeleton(phpunit.java:131) @ org.phpsrc.eclipse.pti.tools.phpunit.core.phpunitutil.syncphpclasstotestcase(phpunitutil.java:174) @ org.phpsrc.eclipse.pti.tools.phpunit.ui.wizards.createphpunittestcasewizard.performfinish(createphpunittestcasewizard.java:33) @ org.eclipse.jface.wizard.wizarddialog.finishpressed(wizarddialog.java:853) @ org.eclipse.jface.wizard.wizarddialog.buttonpressed(wizarddialog.java:438) @ org.eclipse.jface.dialogs.dialog$2.widgetselected(dialog.java:619) @ org.eclipse.swt.widgets.typedlistener.handleevent(typedlistener.java:248) @ org.eclipse.swt.widgets.eventtable.sendevent(eventtable.java:84) @ org.eclipse.swt.widgets.display.sendevent(display.java:4454) @ org.eclipse.swt.widgets.widget.sendevent(widget.java:1388) @ org.eclipse.swt.widgets.display.rundeferredevents(display.java:3799) @ org.eclipse.swt.widgets.display.readanddispatch(display.java:3409) @ org.eclipse.jface.window.window.runeventloop(window.java:832) @ org.eclipse.jface.window.window.open(window.java:808) @ org.eclipse.ui.internal.actions.newwizardshortcutaction.run(newwizardshortcutaction.java:136) @ org.eclipse.jface.action.action.runwithevent(action.java:519) @ org.eclipse.jface.action.actioncontributionitem.handlewidgetselection(actioncontributionitem.java:595) @ org.eclipse.jface.action.actioncontributionitem.access$2(actioncontributionitem.java:511) @ org.eclipse.jface.action.actioncontributionitem$5.handleevent(actioncontributionitem.java:420) @ org.eclipse.swt.widgets.eventtable.sendevent(eventtable.java:84) @ org.eclipse.swt.widgets.display.sendevent(display.java:4454) @ org.eclipse.swt.widgets.widget.sendevent(widget.java:1388) @ org.eclipse.swt.widgets.display.rundeferredevents(display.java:3799) @ org.eclipse.swt.widgets.display.readanddispatch(display.java:3409) @ org.eclipse.e4.ui.internal.workbench.swt.partrenderingengine$9.run(partrenderingengine.java:1151) @ org.eclipse.core.databinding.observable.realm.runwithdefault(realm.java:332) @ org.eclipse.e4.ui.internal.workbench.swt.partrenderingengine.run(partrenderingengine.java:1032) @ org.eclipse.e4.ui.internal.workbench.e4workbench.createandrunui(e4workbench.java:148) @ org.eclipse.ui.internal.workbench$5.run(workbench.java:636) @ org.eclipse.core.databinding.observable.realm.runwithdefault(realm.java:332) @ org.eclipse.ui.internal.workbench.createandrunworkbench(workbench.java:579) @ org.eclipse.ui.platformui.createandrunworkbench(platformui.java:150) @ org.eclipse.ui.internal.ide.application.ideapplication.start(ideapplication.java:135) @ org.eclipse.equinox.internal.app.eclipseapphandle.run(eclipseapphandle.java:196) @ org.eclipse.core.runtime.internal.adaptor.eclipseapplauncher.runapplication(eclipseapplauncher.java:134) @ org.eclipse.core.runtime.internal.adaptor.eclipseapplauncher.start(eclipseapplauncher.java:104) @ org.eclipse.core.runtime.adaptor.eclipsestarter.run(eclipsestarter.java:380) @ org.eclipse.core.runtime.adaptor.eclipsestarter.run(eclipsestarter.java:235) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:57) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:606) @ org.eclipse.equinox.launcher.main.invokeframework(main.java:648) @ org.eclipse.equinox.launcher.main.basicrun(main.java:603) @ org.eclipse.equinox.launcher.main.run(main.java:1465) @ org.eclipse.equinox.launcher.main.main(main.java:1438)

any appreciated. thank much.


Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -

Nuget pack csproj using nuspec -