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
.
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
steps_dir
using the built-in mechanism. You can provide your own function to load the steps. The function should take one argument, which will be thesteps_dir
and return a list of steps.