Cucumber Essential Training

Cucumber Essential Training
Cucumber Essential Training
English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 2h 43m | 531 MB

Cucumber is a tool for behavior-driven development (BDD), which allows you to write assertions in plain language that are then testable by code. By making written requirements actually testable, it provides a common language between business and engineering professionals. In this course, learn how to use Cucumber to implement agile practices like BDD, test-driven development (TDD), and acceptance test-driven development (ATDD). Instructor Shashi Shekhar goes over the basics of BDD, TDD, and ATDD, and then dives into the Cucumber workflow. He also shows how to map user stories to features, add hooks, generate reports, and apply techniques to make BDD maintainable.

Topics include:

  • 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
Table of Contents

1 A common language for business and developers
2 What you should know
3 Setup JDK
4 Setup Eclipse
5 Setup Cucumber Eclipse plugin and Maven
6 Create a Maven project
7 Basic concepts BDD
8 Basic concepts TDD and ATDD
9 The big picture
10 User story session The problem domain
11 User story session Concrete examples
12 Feature file
13 Step definitions Generate code
14 Step definitions First domain object
15 Step definitions Next scenario step
16 Step definitions Testing scenario
17 Running a test Create a test runner
18 Running a test Maven test
19 Regular expressions basics
20 Update price attribute
21 Update item name attribute
22 Use old Cucumber version
23 More Cucumber expressions
24 Cucumber tags Add a tag
25 Cucumber tags Multiple tags
26 Cucumber tags Maven test with tags
27 Background Add background
28 Background Duplicate item
29 Background Execution flow
30 Cucumber hooks Adding hooks
31 Cucumber hooks Tagged hooks
32 Cucumber reports Generate reports
33 Use monochrome and dryRun parameters
34 Data table Adding a data table
35 Data table Read list of strings
36 Data table List of list of strings
37 Data table List of maps
38 Data table Wrapping up
39 Scenario outline Add scenario outline
40 Scenario outline Adding examples table
41 Scenario outline Implement code
42 Scenario outline Running test
43 Web browser automation
44 Add Selenium dependencies
45 Invoke a page Extract values
46 Invoke a page Read results
47 Invoke a page Running test
48 Best practices
49 Continuous integration and BDD
50 SpecFlow Installation
51 SpecFlow Running tests
52 Next steps