Package: cucumber 2.2.0

cucumber: Behavior-Driven Development for R

Write executable specifications in a natural language that describes how your code should behave. Write specifications in feature files using 'Gherkin' language and execute them using functions implemented in R. Use them as an extension to your 'testthat' tests to provide a high level description of how your code works.

Authors:Jakub Sobolewski [aut, cre]

cucumber_2.2.0.tar.gz
cucumber_2.2.0.zip(r-4.7-any)cucumber_2.2.0.zip(r-4.6-any)cucumber_2.2.0.zip(r-4.5-any)
cucumber_2.2.0.tgz(r-4.6-any)cucumber_2.2.0.tgz(r-4.5-any)
cucumber_2.2.0.tar.gz(r-4.7-any)cucumber_2.2.0.tar.gz(r-4.6-any)
cucumber_2.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
cucumber/json (API)

# Install 'cucumber' in R:
install.packages('cucumber', repos = c('https://jakubsob.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/jakubsob/cucumber/issues

On CRAN:

Conda:

acceptance-testingbehavior-driven-developmentcucumberspecificationtestingquarto

6.49 score 32 stars 12 scripts 730 downloads 11 exports 37 dependencies

Last updated from:d81e5c2742. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK192
source / vignettesOK239
linux-releaseOK158
macos-releaseOK159
macos-oldrelOK145
windows-develOK124
windows-releaseOK115
windows-oldrelOK103
wasm-releaseOK132

Exports:afterbeforeCucumberProgressReporterCucumberReporterdefine_parameter_typegivenpendingruntestthenwhen

Dependencies:backportsbriocallrcheckmateclicrayondescdiffobjdplyrevaluatefsgenericsgluejsonlitelifecyclemagrittrotelpillarpkgbuildpkgconfigpkgloadpraiseprocessxpspurrrR6rlangrprojrootstringistringrtestthattibbletidyselectutf8vctrswaldowithr

Behavior-Driven Development
How BDD works | Capturing a wish with a User Story | Refining the User Story into examples | Implementing executable specifications | BDD with base R | BDD with | Why should you choose {cucumber}? | Learning BDD

Last update: 2026-09-25
Started: 2024-10-06

Gherkin Reference
Keywords | Feature | Descriptions | Example | Steps | Given | When | Then | And, But | * | Background | Tips for using Background | Scenario Outline | Examples | Step Arguments | Doc Strings | Data Tables | Table Cell Escaping | Tags | Tag inheritance | Running a subset of scenarios | Tag expressions | Tag expression operators | Tag names | Using tags for documentation | Link to other documents | Development process | Other common uses

Last update: 2026-07-28
Started: 2025-02-23

How it works
Step execution order | Translation to testthat code | How step definitions are loaded

Last update: 2025-04-04
Started: 2025-02-23

Migration to cucumber 2.0.0
1. Remove test-cucumber.R file. | 2. Move steps definitions to setup-*.R files.

Last update: 2025-04-01
Started: 2025-04-01