Saturday, December 22, 2018

Eclipse Configuration (with TestNG & Cucumber)

This post contains the details about Eclipse configuration on Windows/Mac system along with plugins like - 

  • Eclipse with TestNG
  • Eclipse with Cucumber
  • Eclipse with PyDev

Eclipse configuration on Windows/Mac
--------------------------------------------------------------------------------------------------------------------
Pre-requisites –
----------------------------------------------------------------------------------------------------------------------
Java should install on the system and JAVA_HOME path should be set.
--------------------------------------------------------------------------------------------------------------------

1) Download Eclipse installer (eclipse-inst-win64.dmg for Mac or eclipse-inst-win64.exe for Windows)
2) On Mac, extract the installer and double click on "Eclipse Installer" and Windows, double click on exe

3) Click on "Eclipse IDE for Java Developers"

4) Set the path and click on Install button

5) Installation completes and shows below screen

6) Click on Launch button to launch the Eclipse

7) Set the Workspace and click on Ok button



TestNG Plug-in In Eclipse
--------------------------------------------------------------------------------------------------------------------
1) Launch the Eclipse IDE and from Help menu, click “Install New Software”

2) Click on Add button

3) Enter name “TestNG” and type “http://dl.bintray.com/testng-team/testng-eclipse-release/” as location. Click OK

4) Select the “TestNG” and click on Next button

5) Complete the installation
6) Restart the Eclipse

Cucumber Plug-in In Eclipse
--------------------------------------------------------------------------------------------------------------------
1) Launch the Eclipse IDE and from Help menu, click “Install New Software”

2) Click on Add button

3) Enter name “Cucumber” and type “http://cucumber.github.com/cucumber-eclipse/update-site” as location. Click OK

4) Select the “Cucumber Eclipse Plugin” and click on Next button

5) Complete the installation
6) Restart the Eclipse

PyDev Plug-in In Eclipse
-------------------------------------------------------------------------------------------------------------------
1) Launch the Eclipse IDE and from Help menu, click “Install New Software”

2) Click on Add button

3) Enter name “PyDev” and type “http://pydev.org/updates” as location. Click OK

4) Select the “PyDev” and click on Next button

5) Complete the installation
6) Restart the Eclipse

1 comment: