gfk-ba / senbot

Cucumber / Selenium framework in Java
MIT License
10 stars 11 forks source link

Cannot run specific feature file #17

Closed dadamschi closed 10 years ago

dadamschi commented 10 years ago

Given I am new to Cucumber and SenBot When I try to specify a feature to test in the SenBotDemo (test -DforkMode=never -Dfeatures=features/WebApp/Chapter2/CucumberTest.feature) Then All of the features are running

Am I missing something?

joostschouten commented 10 years ago

In file: com.gfk.senbotdemo.cucumber.tests.WebAppTest try removing the line:

features = "features",

This overrides the commandline settings in the current version of cucumber-jvm. I believe this will change on the next update to the latest cucumber-jvm.

dadamschi commented 10 years ago

That worked. Thanks for the help.