Eclipse - Not able to run TestNG tests - java

I am using Eclipse Kepler 4.3.2 and have installed TestNG plug-in for it but am not able to run TestNG program as TestNG console is displaying below error.
"Plug-in org.testng.eclipse was unable to load class
org.testng.eclipse.ui.TestRunnerViewPart."
I am not able to resolve this even after reinstalling the Eclipse and creating projects in new workspace.

Related

Can't Run as TestNg in Eclipse and encountered the following Error

Trying to Install/Update TestNG from MarketPlace, received an error as given in the picture
strong text
Can't run as TestNG in Eclipse

Tool Tip error in Eclipse Kepler after TestNG installation

My projects in Eclipse Kepler were working just fine until I downloaded TestNG. Post TestNG download, I am unable to click on the run button for my code. After I click on run or even if I hover over on run the following error message is displayed.
An internal error occurred during: "Compute launch button tooltip".
java.lang.IllegalArgumentException
If I uninstall testing all my scripts run. But as soon as I reinstall Testing the issue reappears.
I have tried Re-installing Eclipse, Changing Workspace, Restarting Eclipse, Creating new projects, Installing TestNg from Eclipse Marketplace as well as by Installing new software.
Eclipse Kepler Version: Kepler Service Release 2
Build id: 20140224-0627
Java JDK 1.7

How to run test in IntelliJ IDEA project from InteliJ plugin

I'm creating plugin for IntelliJ in JAVA I need to find a way how to run tests of opened project in idea trough IntelliJ Plugin. Is there any possible way to do that ?

After getting latetest update of testng (6.9), not able to run testng.xml

I just updated my testng plugin in my eclipse IDE, after that I am not able to execute testng.xml, but i am able to execute test case separately by testng.
Notes: I also submitted this issue for eclipse dev team.
please let me know if we have any other way to solve this issue.
Eclipse Versions: Mars (4.5)
Platform Support: Windows -64 bit
Java- 1.8.0.60-b27
Do the folowing
Delete existing testng plugin
restart eclipse
Go to install new software and add: http://beust.com/eclipse-old/eclipse_6.9.5.201508210528/
install this version of plugin.
restart eclipse
check if now it works as expected.
In my case this solved the problem.

Eclipse Plugin not working in Juno

I had developed an eclipse plugin in eclipse luna.
It is absolutely working fine as expected in eclipse luna.
But now when i am copying this plugin jar to the plugins folder of eclipse juno and restarting my eclipse it is not working.
It doesn't even display the plugin in the installed plugins list.
Also when i am starting the console (juno) in osgi view , and typing the command ss command my plugin is not listed there.
Is there any version compatibility issue among the eclipse versions ?
UPDATE :
As per Gilbert's suggestion I created the same plugin in eclipse JUNO , and I am able to run it successfully in the runtime workbench.
Now when I am exporting this jar file and manually copying it into my plugins directory it is not working. I ran the ss command where the plugin is listed and it is in the STARTING state.
Still I am not sure why on exporting the jar it is not working ??
Please help , how to fix this.

Categories

Resources