0 Shares 1421 Views 4 Comments

Cucumber Plug-in for Eclipse

Sep 26, 2016
1421 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 Mobile Automation Project in Windows
Katalon Studio
77 views
Katalon Studio
77 views

Setting up Mobile Automation Project in Windows

Saket - Sep 20, 2017

This tutorial explains how to setup a mobile automation project and test a mobile app using Katalon Studio on Windows. This tutorial assumes that you are familiar…

Katalon Studio GUI Overview
Katalon Studio
147 views2
Katalon Studio
147 views2

Katalon Studio GUI Overview

Saket - Sep 14, 2017

GUI Overview After installing and setting up Katalon Studio for your automated test, you must understand the GUI. In this post we will walk you through the…

LeanFT Tutorial #4: Application Model Overview
LeanFT
124 views1
LeanFT
124 views1

LeanFT Tutorial #4: Application Model Overview

Saket - Sep 10, 2017

In this post we are going to focus on Application Model in LeanFT. Refer our earlier posts on LeanFT Getting Ready with LeanFT Browser Extensions and Settings…

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...