I think you're missing 2 things:
1) Cucumber currently ignores all org.junit.* annotations. You have to
use cucumber.annotation.Before. See
https://github.com/cucumber/cucumber-jvm/issues/76
2) The class with the @RunWith(Cucumber.class) should be empty. Define
the step definition methods (@Given/@When/@Then) in a separate class.
https://github.com/cucumber/cucumber-jvm/issues/77
Aslak
> --
> You received this message because you are subscribed to the Google Groups "Cukes" group.
> To post to this group, send email to cu...@googlegroups.com.
> To unsubscribe from this group, send email to cukes+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/cukes?hl=en.
>
>