Skip to content
rlogiacco edited this page Apr 30, 2012 · 25 revisions

This project aims to build a set of Eclipse plugins to provide a smooth experience in editing and maintaining BDD files. The currently supported languages are Cucumber (Gherkin) and JBehave, the latter still being developed.

Install

This plugin requires Eclipse 3.7 or above and Xtext 2.1 or above.

You can get latter by using the following update site (http://download.eclipse.org/modeling/tmf/xtext/updates/composite/releases/)

Once you have Xtext installed you can download the latest archive from the Downloads section and install it as a local archive: Help > Install New Software... > Add... > Archive... and select the downloaded file.

Restart Eclipse when prompted and then answer "Yes" when prompted to add the Xtext nature to your projects hosting BDD definition files.

Main Features

All you need for a smooth experience is there! Feel free to have a look at our screenshots if you like.

Syntax highlighting

Keywords are highlighted so that it will be much easier to follow through your files and explain them to your business partners.

Auto completion

This is far to be completed, but type CTRL-space and you will be prompted with a list of grammar valid options.

Outline navigation

Your files are becoming complex and long? No worries, use the outline view on your right to quickly find what you are looking for!

Grammar validation

Your grammar is being validated while you type, which means no more unnecessary executions just to check your files.

Hyperlink to Java mappings

This is the coolest: hover onto a step definition, hit the CTRL key and it will probably get highlighted in blue and underlined which means there's a Java method annotated to map to your step definition. It doesn't get hyperlinked? No worries, it means you do not have a mapping for it yet! Do you have multiple mappings for the same definition (which is probably bad)? You will get a list of options when you CTRL-hover over your step!

Clone this wiki locally