Cucumber-Eclipse

News


Speed Up, add Recalculate and add Path to scan

03 Jun 2018

Version: 0.0.22.201806032001 Speed Up, add Recalculate and add Path to scan —

Description :

  • This update add the possibility to define the path for step scan and speed up the plugin use
  • Fix one memory leak
  • Add recalculate function to editor. Useful for steps refactoring

How To Use This Feature :

  • Build and Bundle your required project into JAR/Maven-Dependency having Step-Definition files
  • Uninstall Older version of cucumber-eclipse plugin (Refer : Plugin Installation Process )
  • Install New Version (0.0.22.201806032001) plugin from Eclipse-Update-Site of Motive Repository
  • Restart your eclipse after installation.

Windows Bug Fixes

06 Apr 2017

Version: 0.0.17.201704062133 Windows Bug Fixes —

Description :

  • This update fixes some nuisance issues when running Eclipse on Windows
  • Specifically -
    • Windows users had to change the auto generated path when using the step definition file wizard
  • It also fixes an issue where quotes were not being properly generated in step definitions samples from wizard

How To Use This Feature :

  • Build and Bundle your required project into JAR/Maven-Dependency having Step-Definition files
  • Uninstall Older version of cucumber-eclipse plugin (Refer : Plugin Installation Process )
  • Install New Version (0.0.17.201704062133) plugin from Eclipse-Update-Site of Motive Repository
  • Restart your eclipse after installation.

Reusing Step-Definitions From Class-Path Dependency

16 Mar 2017

Version: 0.0.16.201703160952 New Reusing Step-Definitions From Class-Path Dependency : —

Description :

  • Cucumber-Step-Definitions can be bundled and reused from any external Class-Path Dependencies(JAR/POM…etc) :
  • JAR MUST be added into your project class-path (or) the dependency for the project can be added in maven-pom file.
  • This feature can be enabled through ‘Cucumber User Settings’ Preference Page : ** User MUST have to configure the ROOT Package Name (ex. com.motive.bdd.smp/com.motive.bdd/com.motive…etc) of external Dependencies(JAR/POM…etc) contains all Step-Definition files. ** All external Step-Definition list will be auto populated in feature file through ‘Content Assistance’ feature.

How To Use This Feature :

  • Build and Bundle your required project into JAR/Maven-Dependency having Step-Definition files
  • Uninstall Older version of cucumber-eclipse plugin (Refer : Plugin Installation Process )
  • Install New Version (0.0.16.201703160952) plugin from Eclipse-Update-Site of Motive Repository
  • Restart your eclipse after installation.
  • Add the bundled JAR file into your Current Project Class-Path (or) Add the dependency for the project in maven-pom file.
  • MUST Close all the Feature files if already opened in Eclipse Editor.
  • Open ‘Cucumber User Settings’ Preference Page from Eclipse :
  • Click on ‘Window > Preference > Cucumber > User Settings’ :
  • MUST Add your ROOT package name of JAR/pom-dependency (ex. com.motive.bdd.smp/com.motive.bdd/com.motive…etc) into ‘Add Root Package Name Of Your Class-Path Dependency(JAR/POM…etc)’ input field of ‘Cucumber User Settings’ Preference page.
  • Click on ‘Apply > OK’
  • Open any Feature File in which step-definitions need to be reused/imported from external dependency(JAR/POM..etc)
  • Use ‘[Ctrl]+[Space]’ keys to activate ‘Content Assistance’ feature :
  • All Step-definition proposals are populated based on the configured package name of external class-path dependencies(JAR/POM..etc)

New Step-Definition File Wizard

28 Mar 2016

Version: 0.0.13.201603281006 New Step-Definition File Wizard : —

  • User can create a new Step definition(java) file from Eclipse ‘File’ Menu :
  • File > New > Other > Cucumber > Step-Definition class > Next > :
  • Specify: Source Folder: [browse your project directory] Package Name:[browse package name] Class Name:[Step-Def(java) file name]
  • Select any/all : Cucumber Annotations : Given/When/Then/And/But
  • Result : A sample Step definition(java) file is created for selected Annotations

Content Assistance for feature file

28 Mar 2016

Version: 0.0.13.201603281006 Content Assistance for feature file — -‘Content Assistance’ for Eclipse editor can be activated by pressing [Ctrl]+[Space]’ keys while writing any feature file.

  • Supports proposals for list of Keywords.
  • Supports proposals for Predefined-Steps/Search based Predefined-Steps by ‘[Predefined-Step]:[Step-Definition(java)File]’ format.
  • Some rules for Content Assistance are highlighted below : a. Rules for Keyword Assistance : —
  • Populates all Keywords proposal by pressing [Ctrl]+[Space] keys.
  • New line starts with((First word)) any blank space : populates all keywords.
  • New line starts with(First word) any matched and unmatched keyword(Ex. Given/abcd123) : populates only Step-keywords(Given,When,Then,And,But) b. Rules for step Assistance : —
  • Populates all/search based predefined steps proposal by pressing ‘[Ctrl]+[Space]’ keys.
  • New line MUST be starts with a valid Step-Keyword.
  • If Next word is blank : Populates all predefined steps
  • If Next word starts with any matched step : Populates only matched predefined steps
  • If Next word starts with any unmatched step : Populates ‘No Proposals’

Sample Feature Definition Template

19 Feb 2016

Version: 0.0.11.201602191306 Now a sample feature definition template is available for any blank feature file. When you will create new feature file(.feature), your feature file content will always overridden with a sample template which can be used as sample reference.

code folding

03 Jun 2014

You can now code fold. Miscellaneous other improvements and bug fixes

Decoupled Dependency

15 May 2014

Decoupled Hard Dependency via extension point

Decoupled hard dependency via extension point to offer more controlled usage.

Click Through for English

03 May 2014

Very basic click through added from step to step definition. It still needs I18N and some short cut keys, and mouse over effects for short cut keys.

feature runner

14 Dec 2013

You can now run features as run configurations that run to the terminal. It works the best if you see ansi colours in the terminal, which can be achieved by adding a plugin such as http://mihai-nita.net/2013/06/03/eclipse-plugin-ansi-in-console/

License

26 Apr 2013

License added

Version 0.0.4 adds the license and uses new Tycho Build process

Bug_fix

29 Jan 2013

Bug fix

Version 0.0.3 makes sure Scenario Outline is highlighted

Key_binding

14 Jan 2013

Key Binding for Pretty Formatting

Version 0.0.2 adds a key binding for auto formatting.

Auto_formatting

12 Jan 2013

Auto Formatting

Version 0.0.1c is released - this adds the ability to right click from within the edtior and pretty format the feature file. Also number literals were added to the syntax that is highlighted

Syntax_prefs

08 Jan 2013

Configurable Preferences for Syntax Highlighting

The ability to set the colours of the various highlights was added. The can be found in the preferences sections for colours and fonts.

Basic Editor

07 Jan 2013

Basic Gherkin Editor

Version 0.0.1 is released - this just includes a port of the basic gherkin editor from https://github.com/ilanpillemer/gherkin-eclipse-plugin

Coming soon

12 Dec 2012

Work is starting soon on this new official eclipse plugin for cucumber-jvm. Add this site to your RSS reader, or check back soon for more information.