Selenium: BDD Cucumber- Cucumber Options
In last post, we learnt how to write features, scenarios and how to execute BDD cucumber tests. As we are implementing our BDD framework using cucumber, let's explore further about cucumber. We will start with various cucumber options in this post. We run our cucumber tests from Runner class. You can just go through this once to recapitulate things we discussed in last post Cucumber Demo Test . In that runner class, we have different cucumber options, it is just like a settings page that how we want to run our tests and different options are also available for that purpose. [Cucumber Options] Dry Run: dryrun can be true or false. If dryrun is set true, it will check if the steps written in feature file has corresponding code in step definition file or not. It is good option to catch rudimentary errors. The default value of dryrun is false. You can just try with dryrun=true option to see the result. Monochrome: monochrome option also can ta...