Dryrun is an option present in CucumberOptions which is used to check cucumber feature files and step definitions corresponding to it. It does not do actual execution rater it just checks the settings and configurations. Syntax Below :
@CucumberOptions(
features = "Feature"
,dryRun = true
)
dryRun accepts values as true and false . If set to true it will check the step definitions against each step of feature file.
No comments:
Post a Comment