test {cucumber} | R Documentation |
Run all Cucumber tests
Description
This command runs all Cucumber tests. It takes all .feature files
from the features_dir
and runs them using the steps from the steps_dir
.
Usage
test(
features_dir,
steps_dir,
steps_loader = .default_steps_loader,
test_interactive = getOption("cucumber.interactive", default = FALSE)
)
Arguments
features_dir |
A character string of the directory containing the feature files. |
steps_dir |
A character string of the directory containing the step files. |
steps_loader |
A function that loads the steps implementations. By default it sources all files
from the |
test_interactive |
A logical value indicating whether to ask which feature files to run. |
Value
None, function called for side effects.
[Package cucumber version 1.0.4 Index]