Cucumber Eclipse Plugin

Add this URL to your Eclipse Installation to reach this solution's update site.

2021-06 (4.20), 2021-03 (4.19), 2020-12 (4.18), 2020-09 (4.17), 2020-06 (4.16), 2020-03 (4.15), 2019-12 (4.14), 2019-09 (4.13), 2019-06 (4.12), 2019-03 (4.11), 2018-12 (4.10), 2018-09 (4.9), Photon (4.8), Oxygen (4.7), Neon (4.6), Mars (4.5), Luna (4.4), Kepler (4.3), Juno (4.2, 3.8), Previous to Juno (<=4.1), 2021-09 (4.21), 2021-12 (4.22), 2022-03 (4.23), 2022-06 (4.24), 2022-09 (4.25), 2022-12 (4.26), 2023-03 (4.27), 2023-06 (4.28), 2023-09 (4.29), 2023-12 (4.30), 2024-03 (4.31), 2024-06 (4.32), 2024-09 (4.33), 2024-12 (4.34)

https://cucumber.github.io/cucumber-eclipse-update-site-snapshot/

Learn more...
Solution Description

An Eclipse plugin for Cucumber .

New Feature list in the version available from the update site:

Please head over to our Github Repository for more information.

Please consult our Plugin-Wiki for a full list for currently available features and screenshots.

Additional Details

Eclipse Versions: 2021-06 (4.20), 2021-03 (4.19), 2020-12 (4.18), 2020-09 (4.17), 2020-06 (4.16), 2020-03 (4.15), 2019-12 (4.14), 2019-09 (4.13), 2019-06 (4.12), 2019-03 (4.11), 2018-12 (4.10), 2018-09 (4.9), Photon (4.8), Oxygen (4.7), Neon (4.6), Mars (4.5), Luna (4.4), Kepler (4.3), Juno (4.2, 3.8), Previous to Juno (<=4.1), 2021-09 (4.21), 2021-12 (4.22), 2022-03 (4.23), 2022-06 (4.24), 2022-09 (4.25), 2022-12 (4.26), 2023-03 (4.27), 2023-06 (4.28), 2023-09 (4.29), 2023-12 (4.30), 2024-03 (4.31), 2024-06 (4.32), 2024-09 (4.33), 2024-12 (4.34)

Platform Support: Windows, Mac, Linux/GTK

Organization Name: Cucumber

Development Status: Mature

Date Created: Friday, November 10, 2017 - 06:08

License: MIT

Date Updated: Friday, October 6, 2023 - 10:48

Submitted by: Girija Prasad Panda

Screenshot
Date Ranking Installs Clickthroughs
December 2024 6/581 3091 6
November 2024 6/658 10057 44
October 2024 5/663 10316 55
September 2024 6/642 10519 58
August 2024 4/641 10686 53
July 2024 4/663 11615 66
June 2024 5/681 11156 68
May 2024 5/682 11957 80
April 2024 6/687 12026 58
March 2024 5/694 12923 53
February 2024 4/687 12718 321
January 2024 4/691 11926 73
View Data for all Listings

Marketplace Drag to Install Button

By adding the following code below to your website you will be able to add an install button for Cucumber Eclipse Plugin.

HTML Code:

Markdown Syntax:

Output:

Drag to your running Eclipse* workspace. *Requires Eclipse Marketplace Client

Reviews Add new review

After install the cucumber plugin on eclipse :  Version: 2024-03 (4.31.0)  Build id: 20240307-1437

When i go on menu Windows -> Preferences -> Cucumber -> java i have the error message  : 
Unable to create the selected preference page.

java.lang.NoClassDefFoundError: org/eclipse/jdt/internal/debug/ui/FilterViewerComparator
    at java.base/java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3572)
    at java.base/java.lang.Class.getConstructor0(Class.java:3777)
    at java.base/java.lang.Class.getDeclaredConstructor(Class.java:2955)
    at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:233)
    at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:987) 
 .....
 .....
 Caused by: java.lang.ClassNotFoundException: org.eclipse.jdt.internal.debug.ui.FilterViewerComparator cannot be found by cucumber.eclipse.steps.jdt_1.0.0.202110280427
	at org.eclipse.osgi.internal.loader.BundleLoader.generateException(BundleLoader.java:562)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass0(BundleLoader.java:557)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:434)
	at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:174)
    


The eclipse plugin : org.eclipse.jdt.debug.ui_3.13.300.v20240207-1034.jar don't contains the class <FilterViewerComparator>. 
Otherwise the old version org.eclipse.jdt.debug.ui-3.2.102.v20071002_r332.jar contains the class.

I tried to replace the jar but without success. 
Is this blocking for the continuation using plugin in eclipse ? 
 

Eclipse IDE for Java Developers
Version: 2023-06 (4.28.0)
Build id: 20230608-1333

I am not able to download Cucumber plugin 1.0.0202106240526 from the marketplace or install in software I think I have tried everything I even downloaded Eclipse 2022-09 but same issue

I get the following message

I am puutung space in URL beacauce it wont let me post 

Unable to read repository at https    ://cucumber.  github.io/cucumber-eclipse-update-site-snapshot/content.   xml.

Unsupported or unrecognized SSL message

Not able to install latest Cucumber-Eclipse plugin Eclipse 4.20.0

Appreciate a quick response here

Getting below error

Installing software has encountered a problem

An error occured while collecting items to be installed

An error occurred while collecting items to be installed
session context was:(profile=C__Users_saran_eclipse_java-2021-06_eclipse, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Result of processing steps.
OK
OK
Public key not found for -9147676190077153272.
OK
Result of processing steps.
OK
OK
Public key not found for -9147676190077153272.
OK

unable to install the cucumber plugin with eclipse 4.27.0 causing issue for not to create a feature file and while installing the cucumber plugi got unstable install pop to

I tried to install the plugin offline by using the latest snapshot available in releases in the latest eclipse 4.20.0(2021-06) but unable to do so as i'm faced with the following error, kindly guide:

Cannot complete the install because one or more required items could not be found.
Software being installed: Cucumber Eclipse 1.0.0.202107150747 (cucumber.eclipse.feature.feature.group 1.0.0.202107150747)
Missing requirement: Cucumber Editor 1.0.0.202107150747 (cucumber.eclipse.editor 1.0.0.202107150747) requires 'osgi.bundle; org.eclipse.pde.ui 3.5.0' but it could not be found
Cannot satisfy dependency:
From: Cucumber Eclipse 1.0.0.202107150747 (cucumber.eclipse.feature.feature.group 1.0.0.202107150747)
To: org.eclipse.equinox.p2.iu; cucumber.eclipse.editor [1.0.0.202107150747,1.0.0.202107150747]

In reply to by Manikandan Damodaran

 

Error Message :

Cannot complete the install because one or more required items could not be found.
 Software being installed: Cucumber Eclipse 1.0.0.202001082311 (cucumber.eclipse.feature.feature.group 1.0.0.202001082311)
 Missing requirement: Cucumber Editor 1.0.0.202001082311 (cucumber.eclipse.editor 1.0.0.202001082311) requires 'osgi.bundle; org.eclipse.pde.ui 3.5.0' but it could not be found
 Cannot satisfy dependency:
   From: Cucumber Eclipse 1.0.0.202001082311 (cucumber.eclipse.feature.feature.group 1.0.0.202001082311)
   To: org.eclipse.equinox.p2.iu; cucumber.eclipse.editor [1.0.0.202001082311,1.0.0.202001082311 - Did you got a fix for this ?

In reply to by Girija Prasad Panda

I cannot use Marketplace because of something within our company (works in neon, but not with this ide).  I need to install the updated version using "Install New Software" but the url does not point to it the updated version it still goes to 

    Cucumber Eclipse    1.0.0.202107150747

using cucumber-eclipse-update-site-snapshot

I can't post the whole url as it will error the post out.

 

In reply to by Girija Prasad Panda

Somehow this version popped up, but still doesn't work.

Cannot complete the install because one or more required items could not be found.
  Software being installed: Cucumber Eclipse 1.0.0.202110280427 (cucumber.eclipse.feature.feature.group 1.0.0.202110280427)
  Missing requirement: Cucumber Editor 1.0.0.202110280427 (cucumber.eclipse.editor 1.0.0.202110280427) requires 'osgi.bundle; org.eclipse.pde.ui 3.5.0' but it could not be found
  Cannot satisfy dependency:
    From: Cucumber Eclipse 1.0.0.202110280427 (cucumber.eclipse.feature.feature.group 1.0.0.202110280427)
    To: org.eclipse.equinox.p2.iu; cucumber.eclipse.editor [1.0.0.202110280427,1.0.0.202110280427]

After installing this Cucumber plugin getting stack overflow error while perfoming the maven force update during the building process, below is the error stack.

 

!ENTRY org.eclipse.core.jobs 4 2 2021-05-27 10:48:25.043
!MESSAGE An internal error occurred during: "Building".
!STACK 0
java.lang.StackOverflowError
    at org.eclipse.jdt.internal.core.hierarchy.HierarchyResolver.subTypeOfType(HierarchyResolver.java:975)
    at org.eclipse.jdt.internal.core.hierarchy.HierarchyResolver.subTypeOfType(HierarchyResolver.java:979)
    at org.eclipse.jdt.internal.core.hierarchy.HierarchyResolver.subTypeOfType(HierarchyResolver.java:984)
    at org.eclipse.jdt.internal.core.hierarchy.HierarchyResolver.subTypeOfType(HierarchyResolver.java:979)
    at org.eclipse.jdt.internal.core.hierarchy.HierarchyResolver.subTypeOfType(HierarchyResolver.java:984)
    at org.eclipse.jdt.internal.core.hierarchy.HierarchyResolver.subTypeOfType(HierarchyResolver.java:979)

 

I have installed plugin version 1.0.0.202010091040 and can see that this supports Cucumber 4.2  Is there a planned date for the plugin to support Cucumber 6.x?  The file cucumber.eclipse.backends.java_1.0.0.202010091040.jar contains cucumber-java-4.2.0.jar and cucumber-core-4.2.0.jar.  Some of the Java classes ahve changed packages after version 4.5.   

I have installed the latest plugin on Eclipse Version: 2020-06 (4.16.0), Build id: 20200615-1200. After installation completion and Eclipse restart I create a feature file under my project, Eclipse immediately shows a popup that the .feature file type not associated with any plugin available. It suggests to install a plugin from marketplace. Choosing the option opens marketplace wher I can see that this plugin is already installd. Please help. 

I have installed the latest plugin on Eclipse Version: 2020-09 (4.16.0). After installation completion and Eclipse restart I create a feature file under my project, Eclipse immediately shows a popup that the .feature file type not associated with any plugin available. It suggests to install a plugin from marketplace. Choosing the option opens marketplace wher I can see that this plugin is already installd. 

I have installed the latest plugin on Eclipse Version: 2020-06 (4.16.0), Build id: 20200615-1200. After installation completion and Eclipse restart I create a feature file under my project, Eclipse immediately shows a popup that the .feature file type not associated with any plugin available. It suggests to install a plugin from marketplace. Choosing the option opens marketplace wher I can see that this plugin is already installd. Please help. This is frustrating.

 

Plugin installed and recognized the feature files and Gherkin syntax. But it is not detecting step definitons. I have a need to pull some step def from dependency jar as well. In my case, no step definitons are recognized. I also tried with Eclipse 2020-03 release as well. I installed all different ways, from eclipse marketplace, as a zip file. No luck. Any pointers please.

thanks for this great plugin, it helped a lot to simply the BBD development process.

I have a issue when editing the feature file, when I change some context in the feature file, then Cucumber Building(sleeping) thread will block other tasks to startup, if I removed the Cucumber builder from the project, then all the functions work properly. could you please have a look at this issue?

I am using the Eclipse Platform Version: 4.14.0.v20191210-0610

Cheers,

Alan

Recently updated with the Plugin's Snapshot version - 1.0.0 as below :

  • Updated the plugin's installation site with https://cucumber.github.io/cucumber-eclipse-update-site-snapshot/ for installing the most stable SNAPSHOT version '1.0.0.202001082311'  from your Eclipse-IDE.
  • Updated for the below Supported Eclipse Release versions to avoid the incompatibilty issue:
    • 2020-03 (4.15)
    • 2019-12 (4.14)
  • This plugin's snapshot version(1.0.0.202001082311) can be installed directly from your Eclipse-IDE's Menu, Help > Eclipse Marketplace > Find: Cucumber > Select 'Cucumber Eclipse Plugin' >Install.
    • You can skip the manual installation from the:Help > Install New software > Repo-url
  • Tested with the latest Eclipe Version:2019-09-R and this plugin (version 1.0.0) is successfully installed from the Eclipse-IDE.

Please install/update the plugin from your Eclipse-IDE and let me know your feedback.

Thanks,
~Girija

 

Hi All,

Recently updated the plguin's installation site with https://cucumber.github.io/cucumber-eclipse-update-site for installing the most stable Plugin-Version-1.0.0 on your Eclipe-IDE. This plugin version(1.0.0) can be installed directly from your Eclipse-IDE's Eclipse-Market place window

Tested with the latest Eclipe Version:2019-09-R and this plugin (version 1.0.0) is successfully installed from the Eclipse-IDE.

Thanks,

~Girija

In reply to by Girija Prasad Panda

I just installed Eclipse IDE for Java Developers, Version: 2019-09 R (4.13.0), and Build id: 20190917-1200.

In Eclipse Marketplaces, I see version 0.0.23.201811220126 and not 1.0.0.

When I try to install 0.0.23.201811220126, I get the following error message:

Unable to read repository at path-to-content.xml.
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Hi All,

Recently updated the plguin's installation site with https://cucumber.github.io/cucumber-eclipse-update-site for installing the most stable Plugin-Version-1.0.0 on your Eclipe-IDE. This plugin version(1.0.0) can be installed directly from your Eclipse-IDE's Eclipse-Market place window

Tested with the latest Eclipe Version:2019-09-R and this plugin (version 1.0.0) is successfully installed from the Eclipse-IDE.

Thanks,

~Girija

After upgrading to Cucumber 4.x the following capabilities were lost:

  • Following a Cucumber step definition from the feature file to the Java method that implements it

    With 2.x It was possible to hover over a step definition which would become a clickable "link" which when clicked would lead to the method that was responsible for implementing the step.

  • Seeing a green marker arrow indicating the step about to be execute in the scenario

    With 2.x, the JUnit view would display the steps of the currently executing scenario with a little green "arrow" marker that indicated the next step to be executed. Now there is no green arrow and (worse) no steps list - only the name of the executed scenario.

I am using Eclipse 2018-09 (a.k.a. 4.9) - but these capabilities were lost also on Photon (a.k.a. 4.8)

 

In reply to by Lyor Goldstein

Hi Lyor, 

The feature "follow a cucumber step definition from a feature file" works with the latest Eclipse version  (4.9.0). You could use both traditional shortcuts: F3 or CTRL+clic.

For the "green arrow", I don't know what your are talking about. Could you create an issue on Github to explain more ?

Thank you