Join Shashi Shekhar for an in-depth discussion in this video Step definitions: Testing scenario, part of Cucumber Essential Training.
- [Presenter] So our developmenting has implemented … all the three methods in our step definitions file. … We have the first method, where they're adding … a restaurant menu item with name, description and price. … In the second step, they define the location menu … which is of the type restaurant menu. … Let me show you that class. … This class holds an array list of menu items … or restaurant menu items and it has a method … that allows you to add a menu item to that array list. … Let's go back to the step definitions file … and the last method is where its … checking if an item exists. … So the item which is added in this method, … which is I add that menu item, should be available … in the location menu object and that's what it tests. … For each of these steps we have some Sys.out, … so you can see some messages and some values. … So lets go ahead and run our … feature file and see what happens. … I'm going to minimize this from the feature file … and … if you see in the output …
- 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.