简体   繁体   中英

How can I run cucumber feature file in Netbeans

I am working with Netbeans and want to run a feature cucumber file. I have created the runner but there is no option to run as a JUnit test. I am using Netbeans 7.3 and cucumber cetriolo - plugin for Netbeans.

Solved by setting up the .feature file using the plugin (instead of manually):

  1. Right click on the project and create a new empty .features file
  2. Then in the file tab (not the Projects tab) put all the other 2 files alongside the features file in ~/src/test

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM