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

Cucumber Essential Training

2h 28mBeginner2025-07-14

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, Cucumber provides a common language for 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 essentials of the Cucumber workflow. Along the way, gather tips on how to map user stories to features, add hooks, generate reports, and apply techniques to make BDD maintainable.

Learning objectives
Integrate Cucumber into your test-driven development.
Leverage Cucumber in tandem with Playwright and similar tools for more comprehensive test coverage.
Combine hooks and data tables into your Cucumber workflows.

Skills covered

CucumberAgile Software DevelopmentSoftware TestingDevOpsEssential TrainingOpen SourceSoftware Development

Concepts

0. Introduction

  • 01 - A common language for business and developers
  • 02 - What you should know

1. Behavior-Driven Development

  • 03 - Basic concepts - BDD
  • 04 - Basic concepts - TDD and ATDD
  • 05 - The big picture
  • 06 - Course setup

2. Cucumber Workflow

  • 07 - User story session - The problem domain
  • 08 - User story session - Concrete examples
  • 09 - Feature file
  • 10 - Step definitions - Generate code
  • 11 - Step definitions - First domain object
  • 12 - Step definitions - Next scenario step
  • 13 - Step definitions - Test scenario

3. Regular Expressions Match

  • 14 - Regular expression basics
  • 15 - Update price attribute
  • 16 - Update item name attribute
  • 17 - More Cucumber expressions

4. Additional Cucumber Concepts

  • 18 - Cucumber tags - Add a tag
  • 19 - Cucumber tags - Multiple tags
  • 20 - Cucumber tags - Maven test with tags
  • 21 - Background - Add background
  • 22 - Background - Duplicate item
  • 23 - Background - Execution flow
  • 24 - Cucumber hooks - Add hooks
  • 25 - Cucumber hooks - Tag hooks
  • 26 - Cucumber reports - Generate reports
  • 27 - Use dryRun parameters

5. Data Table and Scenario Outline

  • 28 - Data table - Add a data table
  • 29 - Data table - Read list of strings
  • 30 - Data table - List of list of strings
  • 31 - Data table - List of maps
  • 32 - Data table - Wrapping up
  • 33 - Scenario outline - Add a scenario outline
  • 34 - Scenario outline - Add an example table
  • 35 - Scenario outline - Implement code
  • 36 - Scenario outline - Run the test case

6. Cucumber Advanced Features

  • 37 - Web browser automation
  • 38 - Invoke a page - Test automation
  • 39 - Invoke a page - Supply values
  • 40 - Invoke a page - Read result
  • 41 - Best practices in Cucumber

7. Miscellaneous

  • 42 - Continuous integration and BDD
  • 43 - Other tools overview
  • 44 - Apply Playwright to Django

Conclusion

  • 45 - 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