Cucumber is a testing framework that is based on Behavior-Driven Development (BDD) use for user acceptance testing for web applications. So you have learnt a little bit about Cucumber as a Java Programmer and wondering what tool would allow you to work with you existing Eclipse and still be able to write Cucumber for Java.
Cucumber Eclipse Plugin can be installed in Eclipse using the following steps:
- Launch your Eclipse IDE and click on the help menu to select ‘Install New Software…’
- A dialog box appears, click on ‘Add’ button towards the top left of the dialog box.
- Type in your desired name on the name box probably ‘Cucumber Plugin’. In the Location, type ‘http://cucumber.github.com/cucumber-eclipse/update-site’ and click on ‘OK’ button.
- The plugin is downloaded. Just make sure that the checkbox close to the ‘Cucumber Eclipse Plugin’ is checked and click ‘Next’.
- Click on ‘Next’ again after reviewing the installation details at this dialog.
- Make sure you accept the terms of licence agreement and click on ‘Finish’
- Security warning is shown, warning you that the software you are about to install is unsigned and might not be safe. Click on ‘Install anyway’ if you want to continue ‘Details’ if you want to learn more about the warning and ‘Cancel’ if you want to cancel the installation.
- You will have to restart your Eclipse Workspace for the installation to take effect. Click on ‘Restart’ now and you are Done!
- You can now write your Cucumber Tests now in Eclipse. Done.