Skip to content

Instantly share code, notes, and snippets.

@okaminu
Last active March 17, 2021 18:18
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/df74a0d448c2d6625104f9914d971081 to your computer and use it in GitHub Desktop.
Save okaminu/df74a0d448c2d6625104f9914d971081 to your computer and use it in GitHub Desktop.
package steps
import io.cucumber.scala.{EN, ScalaDsl}
class StepDefinitions extends ScalaDsl with EN {
Given("""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()
}
When("""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()
}
Then("""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()
}
When("""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