In eclipse :
1.
Launch
the Eclipse IDE and from Help menu, click “Install New Software”.
2.
On
the dialog window, click “Add” button.
3.
Type
name as “TestNG” and type http://beust.com/eclipse/” as location. Click
OK.
4.
You
will now see TestNG option selected, if not selected select the check box and
click on Next button.
5.
Click
“I accept the terms
of the license agreement Finish.
6.
Eclipse
will prompt to restart . Click on OK.
Else
- Go to Help -> Eclipse Market Place.
- Search for testng.
- Select testNG option and click on install.
- Click “I accept the terms of the license agreement Finish.
- Eclipse will prompt to restart . Click on OK.
Maven dependency :
<dependency>
|
<groupId>org.testng</groupId>
|
<artifactId>testng</artifactId>
|
<version>6.8</version>
|
<scope>test</scope>
|
</dependency>
|
No comments:
Post a Comment