Hire QA – Specialized in QA Recruitment, Technical Interviews and Testing Solutions

What is Cucumber Options?

Category: BDD Cucumber

@CucumberOptions are like property files or settings for your test.

dryRun: true (checks if all steps have step definition)
features: set the path of feature files
glue: set the path of step definition files
tags: what tags in the feature files should be executed
monochrome: true (Display the console output in much readable way
format: what all report format to use
strict: true (will fail if there are undefined or pending steps)

Leave a Reply

Your email address will not be published. Required fields are marked *