Package: cucumber 2.1.1

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.1.1.tar.gz
cucumber_2.1.1.zip(r-4.7)cucumber_2.1.1.zip(r-4.6)cucumber_2.1.1.zip(r-4.5)
cucumber_2.1.1.tgz(r-4.6-any)cucumber_2.1.1.tgz(r-4.5-any)
cucumber_2.1.1.tar.gz(r-4.7-any)cucumber_2.1.1.tar.gz(r-4.6-any)
cucumber_2.1.1.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.13 score 31 stars 11 scripts 289 downloads 8 exports 37 dependencies

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

TargetResultTimeFilesSyslog
linux-devel-x86_64OK131
source / vignettesOK182
linux-release-x86_64OK148
macos-release-arm64OK124
macos-oldrel-arm64OK177
windows-develOK146
windows-releaseOK225
windows-oldrelOK121
wasm-releaseOK119

Exports:afterbeforedefine_parameter_typegivenruntestthenwhen

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: 2025-07-21
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

Last update: 2025-04-04
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