Cucumber Features : Netbeans Module (1.2.3)
- Download file info-cukes-feature.nbm:
- Open NetBeans and go to Tools → Plugins
- In the Plugins dialog click on the “Downloaded” tab
- Click “Add Plugins…”
- Browse to where ever you downloaded the .nbm file, select it and click “Open”
- Last, click on “Install”.
Create a new empty file with .feature ending and start editing.
Go to File → New File and choose ‘Cucumber’ and ‘FeatureTemplate.feature’
Since Version 1.2.2 it is possible to customize the colors so that you can use your own preferred ones.
- Go to Tools → Options → Miscellaneous
- Select “Cucumber Feature Options”
- Select your Colors:
- press “Choose” of the desired option
- select your desired color
- press “Okay”
- Save them by pressing “Okay”
- Restart NetBeans
You have to restart netbeans, since the colors for the module are loaded only once at the start of NetBeans
More customizations like bold or italic will follow soon.
I have messed up the colors and now I want to have the default colors
On Windows: Go to C:\Documents and Settings\\.netbeans\\config\Preferences\info\cukes and delete the ‘feature.properties’ file
On Linux: Go to ~/.netbeans//config/Preferences/info/cukes and delete the ‘feature.file’
Restart NetBeans afterwards.
Scenario: Try to install new version
Given this module was designed for version
And testet with version
| version |
| 6.5.1 |
| 6.7.RC2 |
| 6.7.RC3 |
And I try to install it
When there is an error
Then I contact the developer and send him the error message.
I get an error …
Go to Issues and open and issue.
I have a question or proposal or …
Write me a message or open an Issue
Changes in Version 1.2.3 (17th June 2009)
- more freedom for the user (less restrictive)
- added missing keyword
- last release before NetBeans releases the final version of 6.7 (see Development for more Information)
New in Version 1.2.2 (15th June 2009)
- Custom Colors (see Changing Colors)
Changes in Version 1.2.1 (13th June 2009)
- just code changes to optimize and simplify grammer
- more freedom for the user :)
New in Version 1.2.0 (12th June 2009)
- Integration into NetBeans (File→New File)
- Template File
- Code Folding for Scenario, Background and Examples
New in Version 1.1.9 (11th June 2009)
- Multiline Strings (PyString)
- Indentation (currently only available for Feature, not for Scenarios)
- Language Support: currenty English and French(experimental—> can be found in build directory)
- … propose something … :-)
As Cucumber supports multiple languages, I also want to support multiple languages, but as this is not so easy and needs some work, I’ll only support languages which are really needed and requested from other people.
How to request this module supporting a different language
Open an issue with the following topic: “Language REQUEST: EN” where EN is substituted with your requested language. If such a issue allready exists, please do not open a new one, instead write a comment to the existing issue.
You can also provide a list of keywords with translation, which are not listet here and should also be included. (Useful to highlight the Feature Description: As a developer, I want to …, In order to ,…)
if there are more then ? People, where ? is not decided yet, I’ll start translating it.
REMARK: This project is based on the GLF Module which is no longer supported by NetBeans (the package is deprecated in 6.7, but still usable). If the support for this module is completly removed, then this module will no longer work and has to be rewritten using a different technique. If this happens, please be patient, because my spare time is limited and since I only use NetBeans to write my Cucumber Features, I have very little motiviation to reinvent the module, only because NetBeans do not longer support the GLF module in their new version.
This project can be found on GitHub at the following URL:
If you wish any additional features, then please contact me.
If you know how to extend this plugin, feel free to fork this project and inform me when you are done, so that I can pull you changes into this project.
If you want to collaborate, contact me also.
to all people who are using this plugin/module and tell other people about it.
- write me a message
- open an issue
you can also:
- follow me on Twitter
Copyright © 2009 Roland Guem
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the “Software”), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.