Posts

Showing posts with the label Framework

Feature file(s) Execution in Cucumber

Hello World, On this post, we will understand the Execution of the cucumber's feature file(s). Normally we just create the feature file according to the application's feature/main_functional_category and most of the time(basically depending on our automation framework) its just independent from other features. But, what if...if we want to execute our cucumber framework with a proper defined sequence of feature files ? Now this situation arise when we are having following case: the features(or the steps inside features) are inter-related. Or, we just want to execute them as we want to. So, basically cucumber has its own default way to pickup the feature file for execution, which is of-course Alphabetical order (it also applied to sub-folder names) . But we can also override this default method of feature file selection for execution. So below are the methods/ways to override the default way of cucumber feature files... #1: Specify in @ CucumberOptions (or...