Join Shashi Shekhar for an in-depth discussion in this video Scenario outline: Implement code, part of Cucumber Essential Training.
- [Instructor] Let's take a look at our method stubs. … So, it looks like Cucumber … has generated method stubs just like it did … for our scenarios but there is a difference. … If you look at Sales Tax Rate step, … so this is Sales_Tax_Rate_is_Percentage, … it has created two methods for it. … One for Integer … and the other one for Double … and this is because if we go back to our ScenarioOutline, … TaxRate is defined as 10 and eight … for the first two rows … but 1.55 for the third … and that's why it has given us two different methods … because it's going to capture these values … as different data types. … Let's go ahead and copy all these method stubs. … I'll go ahead and define a new step definitions file … and I'm going to call it ScenarioOutlineSteps. … Let's go ahead and paste all these methods here. … Let's bring all the inputs … to fix any syntax errors … and our method stubs are here. … I'm not interested in steps such as I have a Customer, … the stub that we are going to learn most about …
- How Cucumber can be used for BDD, TDD, and ATDD
- Installing and configuring Cucumber
- Mapping user stories to features
- Adding hooks
- Generating reports
- Adding a data table
- Adding Selenium dependencies
- Applying techniques to make BDD maintainable
Skill Level Intermediate
Robot Framework Test Automation: Level 1 (Selenium)with Bryan Lamb6h 23m Intermediate
1. Behavior-Driven Development
2. Cucumber Workflow
3. Regular Expressions Match
4. Additional Cucumber Concepts
5. Data Table and Scenario Outline
6. Cucumber Advance Features
Next steps1m 7s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.