In this post we will look at step-to-step of Installing JBehave Eclipse Plugin. JBehave Eclipse Plugin, provides JBehave Story Editor with syntax highlighting, step auto-completion and lookup. Its features are as below:
Eclipse plugin with a custom JBehave Story Editor features include:
# Syntax highlighting
# Hyperlink detection in steps and link to the corresponding Java method.
# Step auto completion
# Validation, detecting both unimplemented steps and ambiguous steps, matching multiple methods etc
Other features include the ability to set via a Preference page:
# Syntax color themes
# Story language
# Console logger levels
How to Install JBehave Eclipse Plugin:
Step to step guide to install the plugin is shown below. Launch Eclipse on your machine.
Go to Help > Install New Software… as shown in below picture.
Add the new site location http://jbehave.org/reference/eclipse/updates/
Select JBehave Eclipse feature and click on Finish button.
Read and Accept the end user license agreement of the plugin and hit on Finish button.
Installation might take a while depending on your network & machine speed.
After the installation, Eclipse will prompt for restart for the installation to be complete. Restart your eclipse. If your in middle of something choose to restart later.
Verify the installation by creating a new story after the restart as shown in the below screenshot.
To modify the preferences of the plugin go to Window > Preferences > JBehave
Also note that, If you’re behind a company firewall and cannot access the update site, you can download the Eclipse Repository and install from a local archive.