Complete Course
Cypress and Cucumber
Write end-to-end tests in plain language with Gherkin and Cucumber, then map them to Cypress step definitions.
~3 hours of content
Course Content
13 comprehensive lessons covering everything you need to know
Introduction
Introduction
Course Structure
Learn how the course is organized and make the most of the content.
Introduction
Prerequisites
Systems and knowledge required to complete the course.
Introduction
Getting to know the applications under test
Learn about the applications you will test throughout the course.
Lesson
Lesson 1Forking and cloning the project
Fork and clone the project repository to get started.
Gherkin & step definitions
Lesson
Lesson 2Testing your first feature
Write your first feature file in Gherkin, the language Cucumber understands.
Lesson
Lesson 3Creating your first step definition
Map a feature file to code Cypress understands through step definitions.
Parameters & data-driven scenarios
Lesson
Lesson 4Creating a feature that receives parameters
Write Gherkin steps that mix fixed text with variable parameters.
Lesson
Lesson 5Mapping a parameterized feature to step definitions
Pass parameters from a feature file to its step definitions.
Lesson
Lesson 6Features with tabular data
Use tables in Gherkin to run a scenario with different sets of values.
Lesson
Lesson 7Creating a feature with a list of values to iterate over
Pass tabular data to a single step for iteration within a scenario.
Lesson
Lesson 8Mapping a list of values to step definitions
Iterate over each item of a list passed to a step definition.
Organizing your test suite
Lesson
Lesson 9Avoiding repeated steps with the Background keyword
Use the Background keyword to define steps shared across scenarios.
Lesson
Lesson 10Common step definitions
Reuse the same step across multiple feature files.
Lesson
Lesson 11Running scenarios by tags
Tag scenarios and run them selectively by their tags.
Reporting & continuous integration
Lesson
Lesson 12Generating an HTML report
Generate an HTML report of your tests from the Cypress and Cucumber integration.
Lesson
Lesson 13Continuous integration
Run your Cucumber tests automatically in a continuous integration pipeline.
Bonus & Conclusion
Bonus
A simplified solution without Cucumber
See the same scenarios implemented with plain Cypress syntax, without Cucumber.
Bonus
Content from Talking About Testing
Explore additional Cypress content from Talking About Testing.
Conclusion
Congratulations!
You've completed the Cypress and Cucumber course!