Skip to content

Instantly share code, notes, and snippets.

@okaminu
Created March 17, 2021 19:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save okaminu/c9d92a9390336ded2e1bbd07180d4141 to your computer and use it in GitHub Desktop.
Save okaminu/c9d92a9390336ded2e1bbd07180d4141 to your computer and use it in GitHub Desktop.
package steps
import io.cucumber.scala.{LT, ScalaDsl}
class StepDefinitions extends ScalaDsl with LT {
Duota("""a chicken collects {int} insects per minute""") { (int1: Int) =>
// Write code here that turns the phrase above into concrete actions
throw new io.cucumber.scala.PendingException()
}
Kai("""chicken has searched insects for {int} minutes""") { (int1: Int) =>
// Write code here that turns the phrase above into concrete actions
throw new io.cucumber.scala.PendingException()
}
Tada("""the chicken has found {int} insects""") { (int1: Int) =>
// Write code here that turns the phrase above into concrete actions
throw new io.cucumber.scala.PendingException()
}
Tada("""chicken has searched insects for {int} hours""") { (int1: Int) =>
// Write code here that turns the phrase above into concrete actions
throw new io.cucumber.scala.PendingException()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment