Launching a cucumber with a scalate

Is there a way to run the cucumber from scalatest?

I know cucumber is working with junit as below

@RunWith(classOf[Cucumber])
@CucumberOptions(features = ..., tags = ...)
class CucumberStarter

      

But I'm not sure how I can run the cucumber from scalatest. I tried to do it below and it works but doesn't seem to respect@CucumberOptions

@RunWith(classOf[Cucumber])
@CucumberOptions(features = ..., tags = ...)
class CucumberStarter extends JunitSuite

      

+3


source to share





All Articles