inst/examples/testthat_setup_files/tests/acceptance/setup-step-given.R

given("there are {int} cucumbers", function(n, context) {
  force(setup_object)
  force(helper_object)
  context$n <- n
})

Try the cucumber package in your browser

Any scripts or data that you put into this service are public.

cucumber documentation built on June 8, 2025, 12:47 p.m.