sbt / sbt-cucumber

Cucumber plugin for SBT.
Other
20 stars 14 forks source link

Provide javaOptions setting key #16

Closed pangiole closed 3 years ago

pangiole commented 4 years ago

This commit allows for javaOptions being provided to the JVM executing the Cucumber tests. It comes in handy when passing debug args

Example of usage would be

val myproj = project
   .enablePlugins(CucumberPlugin)
  .settings(
     // ... more settings here
     CucumberPlugin.javaOptions := Seq("-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=*:5005"),
  )