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
scala cucumber cucumber-jvm scalatest


source to share


No one has answered this question yet

Check out similar questions:

132
ScalaTest in sbt: is there a way to run a single test without tags?
18
Executing individual ScalaTest test methods in IntelliJ IDEA
3
Test your cucumber with Mockito
2
How to implement and run cucumber test files using testng
2
ScalaTest plugin in eclipse not finding my class
2
Junit test does not run testwatcher methods in scalatest
0
How can we run JUM Cucumber tests in parallel?
0
Cucumber JVM for Scala with Guice & Cucumber JUnitRunner?
0
Faced problem with cucumber (Given, When, Then) and JUnit (Cucumber.class, Cucumber.Options (..)) tags with latest and old cucumbers
0
How do I pass arguments to ScaneTest in Eclipse?



All Articles
Loading...
X
Show
Funny
Dev
Pics