0 Shares 2015 Views 4 Comments

Cucumber Plug-in for Eclipse

Sep 26, 2016
2015 Views 4

Cucumber Eclipse Plugin is used by eclipse to understand the basic Gherkin  syntax and it works like a syntax highlighter. It highlights all the main syntax in the feature file which makes it more readable and more clearer.

In this post we are going to discuss about the installation of Cucumber Eclipse Plug-in. I have tried to put together a step by step instruction with screenshot, hope this will be helpful for you.

 

10 Steps to Configure Cucumber Eclipse plugin

Installation of Cucumber Eclipse Plugin is easier, as it comes as a plugin for Eclipse IDE

Step #1

Launch the Eclipse IDE and from Help menu, click “Install New Software”. A dialog window will be opened. Click on “Add” button.

step2_updated

Step #2 

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

step3_updated

Step #3

Cucumber Eclipse Plugin option will be displayed in the available software list. Check the box and press “Next” button.

step4_updated

Step #4

Select the Cucumber Eclipse Feature Option and click on the Finish button.

step5_updated

Step #5 

Select “I accept the terms of the license agreement” radio button and then click on Finish button.

step6_updated

Step #6

Plugin installation will begin. You may or may not encounter a Security warning, if in case you do just click OK.

step7_updated

 

Step #7

In case you encounter a security popup as below ,just click on the OK button

step8_updated

 

Step #8

After successful installation of Cucumber plugin you will be ask to restart the Eclipse.Click on Yes button

step9_updated

 

Step #9

Once the Eclipse has restarted goto New –> File option

step10_updated

Step #10

Enter the filename as XXXX.feature and click on Finish button . Please note file name can be any,but the extension has to be .feature only.

step11_updated

The below Cucumber file will open, and you will notice the steps are highlighted

Cucumber Eclipse

Now, you are all set working with Cucumber on Eclipse. In our upcoming posts, we will discuss the configuration of cucumber on different IDEs and then automation of Test cases using Cucumber.

Till then Happy Learning!!!!

You may be interested

Setting up Web Service Automation Project
Katalon Studio
240 views
Katalon Studio
240 views

Setting up Web Service Automation Project

Saket - Oct 24, 2017

Web services are specific services that can be published and called over the Internet by client applications. Katalon Studio supports functional testing of web services. This topic…

Setting up Mobile Automation Project in MacOS
Katalon Studio
241 views1
Katalon Studio
241 views1

Setting up Mobile Automation Project in MacOS

Saket - Oct 09, 2017

Using Katalon Studio, mobile tester can design automation test for both Android and iOS to run on physical devices, cloud services and emulators. This tutorial explains how…

UFT Jenkins Integration
Unified Functional Testing
795 views
Unified Functional Testing
795 views

UFT Jenkins Integration

Saket - Oct 03, 2017

In our earlier post, we got to know the easy integration of UFT with GIT. This post focuses on integration of UFT and Jenkins. I have also…

4 Comments

  1. Hi,

    i’m Using the Eclipse indigo but not able to install cucumber on it.
    getting the following errors.

    Cannot complete the install because one or more required items could not be found.
    Software being installed: Cucumber Eclipse Feature 0.0.17.201704062133 (cucumber.eclipse.feature.feature.group 0.0.17.201704062133)
    Missing requirement: Cucumber Editor 0.0.17.201704062133 (cucumber.eclipse.editor 0.0.17.201704062133) requires ‘bundle org.eclipse.pde.ui 3.5.0’ but it could not be found
    Cannot satisfy dependency:
    From: Cucumber Eclipse Feature 0.0.17.201704062133 (cucumber.eclipse.feature.feature.group 0.0.17.201704062133)
    To: cucumber.eclipse.editor [0.0.17.201704062133]

    Reply
    • Hi Divansh,
      make sure you have “Contact all update sites during install to find required software” option checked while installing. refer snap below

      Contact all update sites during install to find required software

      Reply

Leave a Comment

Your email address will not be published.

Most from this category

Join The Growing Group of 15000+ Test Automation Engineers

Signup for our newsletter and get access to free downloads, as well as tips, tricks and techniques and various test automation resources.
Name
Email Address
Secure and Spam free...