Unique Marketing, Guaranteed Results.

What? NetBeans 6.5.1 Can Now Recognize My Cucumber .feature Files!

April 2nd, 2009 by Chris Gunnels

After watching Ryan Bates’ screencast on Cucumber, I wanted to start creating my code first through BDD. I used Netbeans 6.5.1 to follow Ryan’s screencast and I found that NetBeans doesn’t recognize the .feature file that you create when you run a Cucumber test. I searched Google for about 3 hours for a plugin, but no such luck! I couldn’t believe it, I thought somebody had to of created a cukes plugin by now. Well, I decided to help the world and of course, myself, by creating a NetBeans plugin that will recognize the .feature files. Here’s a quick view of a .feature file after the plugin has been installed:

Screen Shot of Cucumber .feature

I have uploaded the plugin to the NetBeans Plugin site, but you can download it from this link: NetBeans Cucumber Plugin -v 1.0


EDIT: Netbeans has been down for a week or two so we’ve made the download available here: Netbeans Cucumber Plugin
After you download the project navigate to: CucumberFileType / build / org-myorg-cucumberfiletype.nbm
Install the .nbm file with netbeans and your ready to go.
END EDIT

To install the plugin all you have to do is:

  1. Download it (Duh)
  2. Open NetBeans and go to Tools -> Plugins
  3. In the Plugins dialog click on the “Downloaded” tab
  4. Click “Add Plugins…”
  5. Browse to where ever you downloaded the .nbm file and click “Open”
  6. Last, click the “Install” button and you finished.

Hope you like it. Please report any bugs or changes.

Comment, Tweet, Appreciate!

Be Sociable, Share!
Filed under: Tools — Tags: — Chris Gunnels @ 3:59 pm on April 2, 2009

17 Comments

  1. Wow this is so nice, thanks so much for contributing back to the community.

    Comment by jaredd — April 2, 2009 @ 6:13 pm

  2. [...] view our post on the Cucumber BDD NetBeans Plugin to download it and get the latest [...]

    Pingback by How to Add a New File Type For NetBeans 6.5.1 | PMA Media Group — April 3, 2009 @ 8:29 am

  3. When I installed it I got an error at the end saying that there was something wrong and it wouldn’t work. I uninstalled and restarted Netbeans, installed again so I could duplicate the error, but then it worked. Odd.

    Comment by Alan Mitchell — April 8, 2009 @ 7:56 am

  4. Is there a way to change the colors?

    Comment by IV — April 15, 2009 @ 1:27 am

  5. IV

    There’s not a way to change colors right now. The plugin is in its infancy. The plugin was released with the MIT license, so you can add to it if you want. Just let us know of any changes and we will publish it for you.

    Comment by Chris Gunnels — April 15, 2009 @ 8:21 am

  6. Looks like the download link is giving a 500 error.

    Comment by Karl — April 20, 2009 @ 12:22 pm

  7. It looks like netbeans is having problems…idk why the 500 status error.

    Comment by Chris Gunnels — April 21, 2009 @ 3:28 pm

  8. Plugin has been unavailable at least since 4/18. Tried all sorts of channels to notify them. Can we get it anywhere else?

    thx.

    Comment by Karl — April 24, 2009 @ 5:56 am

  9. download available here

    Comment by Chris Gunnels — April 27, 2009 @ 2:43 pm

  10. Thanks a bunch! very useful.

    Comment by Aninda — April 28, 2009 @ 3:47 am

  11. Worked! Thx.

    Comment by Karl — April 28, 2009 @ 6:31 am

  12. Have you seen this?

    http://members.chello.at/server/modules.html

    Collaborate maybe?

    Comment by Aslak Hellesøy — May 12, 2009 @ 5:18 am

  13. [...] What? NetBeans 6.5.1 Can Now Recognize My Cucumber .feature Files! « PMA Media Group (tags: netbeans cucumber plugin) [...]

    Pingback by links for 2009-06-23 « Mike Does Tech — June 23, 2009 @ 5:09 pm

  14. Thanks!!

    Comment by Anders — January 11, 2010 @ 8:45 am

  15. Hello! I successuffuly use this plugin with netbeans 6.7, but when I try to install this plugin on nb6.8 it require list of modules, which I didnt need:

    Ant [3.38.1.2]
    Classfile Reader [1.25.1]
    Internationalization [1.29.1]
    Java Lexer [1.8.1]
    Java Platform [1.15.1]
    Java Project Support [1.29.1]
    Java Source to Ant Bindings [1.7.1.1.8]
    Java Source [0.52.1.8.8.2]
    Java Support APIs [1.23.1]
    Javac API Wrapper [0.11.1.1]
    Javac Implementation Wrapper [0.13.1.8]
    Preprocessor Bridge [1.10.1.1]

    I use build for ruby only, and I do not want download this modules.
    Please help me with this issue.

    Comment by Rakoth — February 7, 2010 @ 4:52 pm

  16. Worked great in Netbeans 6.9 Beta – Thanks!

    Comment by 110100100 — June 4, 2010 @ 10:00 am

  17. Is there any way I can get ctrl+shift+c and other shortcuts that work on rb files to do the same in a .feature file in netbeans?

    Comment by Aninda — August 13, 2010 @ 4:06 am

RSS feed for comments on this post. TrackBack URL

Leave a comment

Copyright © 2005-2014 PMA Media Group. All Rights Reserved