Esempio n. 1
0
 public SampleFeaturesSteps(EmployeeDetails emp)
 {
     this.employee = emp;
 }
Esempio n. 2
0
        public readonly EmployeeDetails employee; // 34a create object for employee details

        public ExtendedSteps(EmployeeDetails emp) //34b create constructor for employee details
        {
            this.employee = emp;                  //35c assign value to variable just declare in the constructor
            // the above is the context injection feature. Go and copy Steps deiniftions
            //in "SpecFlowFeature1.feature"
        }