pharmaverse packages{glue} stringNote
This is from the {cucumber} R package example - next slide!
Features
# tests/acceptance/sum.feature
Feature: Sum
Scenario: Sum should work for 2 numbers
Given I have 1
And I have 2
When I add them
Then I get 3
Scenario: Sum should work for 3 numbers
Given I have 1
And I have 2
But I have 3
When I add them
Then I get 6
Steps

{cucumber} package from Jakub Sobolewski
.feature filesgiven, when, then functionstestthat code (reported this way)tests/acceptance pharmaverse
{cucumber}{chromote}```gherkin){cucumber}
{plumber2} has added @then annotationonLoadRmd or other file{knitr} or Quarto{callr}?){diffdf}?)R/Pharma 2025