Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Cucumber Essential Training

via LinkedIn Learning

Overview

Learn how to use Cucumber to implement agile practices like behavior-driven development (BDD), test-driven development (TDD), and acceptance test-driven development (ATDD).

Syllabus

Introduction
  • A common language for business and developers
  • What you should know
  • Setup: JDK
  • Setup: Eclipse
  • Setup: Cucumber Eclipse plugin and Maven
  • Create a Maven project
1. Behavior-Driven Development
  • Basic concepts: BDD
  • Basic concepts: TDD and ATDD
  • The big picture
2. Cucumber Workflow
  • User story session: The problem domain
  • User story session: Concrete examples
  • Feature file
  • Step definitions: Generate code
  • Step definitions: First domain object
  • Step definitions: Next scenario step
  • Step definitions: Testing scenario
  • Running a test: Create a test runner
  • Running a test: Maven test
3. Regular Expressions Match
  • Regular expressions basics
  • Update price attribute
  • Update item name attribute
  • Use old Cucumber version
  • More Cucumber expressions
4. Additional Cucumber Concepts
  • Cucumber tags: Add a tag
  • Cucumber tags: Multiple tags
  • Cucumber tags: Maven test with tags
  • Background: Add background
  • Background: Duplicate item
  • Background: Execution flow
  • Cucumber hooks: Adding hooks
  • Cucumber hooks: Tagged hooks
  • Cucumber reports: Generate reports
  • Use monochrome and dryRun parameters
5. Data Table and Scenario Outline
  • Data table: Adding a data table
  • Data table: Read list of strings
  • Data table: List of list of strings
  • Data table: List of maps
  • Data table: Wrapping up
  • Scenario outline: Add scenario outline
  • Scenario outline: Adding examples table
  • Scenario outline: Implement code
  • Scenario outline: Running test
6. Cucumber Advance Features
  • Web browser automation
  • Add Selenium dependencies
  • Invoke a page: Extract values
  • Invoke a page: Read results
  • Invoke a page: Running test
  • Best practices
7. Miscellaneous
  • Continuous integration and BDD
  • SpecFlow: Installation
  • SpecFlow: Running tests
Conclusion
  • Next steps

Taught by

Shashi Shekhar

Reviews

4.7 rating at LinkedIn Learning based on 686 ratings

Start your review of Cucumber Essential Training

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.