Controlling Cucumber Tests By Driver Script
I will Show you how to filter and run the cucumber tests by using the master driver script.We will use the following components for this as below: 1).YML based Configuration File ************************************************************** env_1: Priority : p1 ############## ApplicationData: ResultsPath : "D:\\TestProject\\Results" FeaturesFolderPath : "D:\\TestProject" ResultFormat : "html" *********************************************************************** This file will help us in providing the following info: a).Tag Filter "p1" by which we can execute only high priority test scenarios. b).Results Path Folder c).Features folder path d).Desired Result Format 2).Master Driver Script(Driver.rb) ******************************************************************************** #Importing the required libraries require 'yaml' require 'FileUtils' #R...