YoVDO

Cucumber Essential Training

Offered By: LinkedIn Learning

Tags

Cucumber Courses Java Courses Selenium Courses Regular Expressions Courses Test-Driven Development Courses Agile Development Courses Acceptance Test-Driven Development Courses

Course Description

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

Related Courses

Técnicas Avançadas para Projeto de Software
Instituto Tecnológico de Aeronáutica via Coursera
Agile Project Management Certification Prep+Agile Scrum+Jira
Udemy
Software Architecture and Clean Code Design in OOP
Udemy
ICAgile (ICP-PRG): Acceptance Testing
Pluralsight
شرح شهادة ISTQB Agile Tester
YouTube