I am getting below error when trying install TestNG in latest Eclipse:
Could anyone help out in resolving this issue as my project uses TestNG in the Test framework
Please follow the below steps and anybody can get the testNG working in any version of Eclipse:
Once downloaded extract the folder to eclipse directory: Let's assume hypothetically you have kept it in C: drive, then the path where you would extract is: C:\eclipse\dropins : Preferably use 7zip extracter to unzip it to directory
Once extracted, you need to add one file to the folder: site.xml. Create a site.xml file and add the below details: and where ever <TestNG_Version_downloaded> is quoted, please don't forget to add the testNG version downloaded
<?xml version="1.0" encoding="UTF-8"?>
<site>
<feature url="features/org.testng.eclipse_<TestNG_Version_downloaded>.jar" id="org.testng.eclipse" version="<TestNG_Version_downloaded>">
<category name="org.testng.eclipse"/>
</feature>
<feature url="features/org.testng.eclipse.maven.feature_7.0.0.201908240652.jar" id="org.testng.eclipse.maven.feature" version="<TestNG_Version>">
<category name="org.testng.eclipse"/>
</feature>
<category-def name="org.testng.eclipse" label="TestNG"/>