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

5.87 score 31 stars 12 scripts 514 downloads 11 exports 37 dependencies

Last updated from:09cdae5ce5. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK181
source / vignettesOK869
linux-releaseOK204
macos-releaseOK200
macos-oldrelOK216
windows-develOK132
windows-releaseOK119
windows-oldrelOK119
wasm-releaseOK132

Exports:afterbeforeCucumberProgressReporterCucumberReporterdefine_parameter_typegivenpendingruntestthenwhen

Dependencies:backportsbriocallrcheckmateclicrayondescdiffobjdplyrevaluatefsgenericsgluejsonlitelifecyclemagrittrotelpillarpkgbuildpkgconfigpkgloadpraiseprocessxpspurrrR6rlangrprojrootstringistringrtestthattibbletidyselectutf8vctrswaldowithr

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

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: 2025-07-21
Started: 2024-10-06

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