you should use the lib from testng.. the plugin just help u out to run tests and creat the testng.xml ;)
get the lib and put it on you build path
De: halvrsonEnviada em: 29/11/2012 14:56Para: testng...@googlegroups.comAssunto: [testng-users] Setting up TestNG in EclipseI just added TestNG to my eclipse (Juno) via Help -> Install New Software. Then I created a New TestNG for a Java class that I am working on. In the code that was generated, there is an
import org.testng.annotations.Test;
This lines shows the error "The import org.testng cannot be resolved" and suggests that I "Add the Add the TestNG library to the project's build class path"
So I went to Window -> Preferences -> Java -> Build Path -> Classpath Variable and added
TESTNG_HOME - /home/halvrson/Development/eclipseSDE/eclipse/plugins/org.testng.eclipse_6.8.0.20121120_1820
Unfortunately, I still get this same error. Can anyone please tell me what I am doing wrong?
--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/testng-users/-/DhJmvA-j_lMJ.
To post to this group, send email to
testng...@googlegroups.com.
To unsubscribe from this group, send email to
testng-users...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/testng-users?hl=en.