Special offers now — see discounted courses.
day
:
hour
:
min
:
sec
See special offers
Cucumber Essential Training (2019)

Cucumber Essential Training (2019)

2h 44mIntermediate2019-06-20

Authors

Shashi Shekhar

Shashi Shekhar

Enterprise Architect

Course details

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.

Learning objectives
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

Skills covered

CucumberSeleniumAgile Software DevelopmentSoftware TestingDevOpsEssential TrainingOpen SourceSoftware Development

Concepts

0. Introduction

  • 01 - A common language for business and developers
  • 02 - What you should know
  • 03 - Setup - JDK
  • 04 - Setup - Eclipse
  • 05 - Setup - Cucumber Eclipse plugin and Maven
  • 06 - Create a Maven project

1. Behavior-Driven Development

  • 07 - Basic concepts - BDD
  • 08 - Basic concepts - TDD and ATDD
  • 09 - The big picture

2. Cucumber Workflow

  • 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

3. Regular Expressions Match

  • 19 - Regular expressions basics
  • 20 - Update price attribute
  • 21 - Update item name attribute
  • 22 - Use old Cucumber version
  • 23 - More Cucumber expressions

4. Additional Cucumber Concepts

  • 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

5. Data Table and Scenario Outline

  • 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

6. Cucumber Advance Features

  • 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

7. Miscellaneous

  • 49 - Continuous integration and BDD
  • 50 - SpecFlow - Installation
  • 51 - SpecFlow - Running tests

Conclusion

  • 52 - Next steps

About us

LyndaKade is a leading learning platform that helps people learn business, software, technology, and creative skills to achieve personal and professional goals.

Phone numberAparat ChannelTelegram SupportTelegram ChannelInstagram Page

All rights to this site belong to LyndaKade.

Terms of Service|Privacy Policy

نماد الکترونیک enamad در صورت اتصال با آی‌پی داخل کشور، نمایش داده خواهد شد.
logo-samandehi - لوگو ساماندهی
Zarinpal
Zibal