Boost your productivity and stay ahead of the curve with 25% off MSRP on select AI courses built for business professionals. Learn practical, hands-on skills to work smarter with AI— no coding or prior experience required.
This one-day hands-on training course that will provides students with a solid understanding of practical BDD concepts using Cucumber and Gherkin to drive consistent functional and non-functional tests as part of the regular build process. Students will learn the core API, tools, and how to work with them together to create powerful testing harnesses.
BDD is a process that defines features and executable specifications that are expressed using Cucumber and Gherkin. To properly showcase the practical application of BDD throughout this course, implementations of the features and behaviors must be developed and tested. This course leverages Java implementations and testing to transform the features into implemented functionality. As such, it is helpful if incoming students know Java. There is no training on Java in this course. If students do not have a background in Java, they will run the solutions to verify implementation and walk through the practical use of BDD.
This skills-centric course is about 50% hands-on lab and 50% lecture, designed to train attendees in core Cucumber and web testing skills, coupling the most current, effective techniques with the soundest industry practices. Throughout the course students will be led through a series of progressively advanced topics, where each topic consists of lecture, group discussion, comprehensive hands-on lab exercises and review.
Working in a hands-on learning environment, led by our expert practitioner, students will learn:
This is an introductory-level course is geared for experienced Test Engineers, Quality Assurance Engineers or others needing to learn Cucumber.
Prior experience with basic Java syntax (to work with Cucumber) would be helpful. Participants without a coding background are welcome to follow along in the labs, copying lab solutions as needed.
1) Lesson: BDD and Testing
This lesson introduces Behavior-Driven Development (BDD) as an extension of Test-Driven Development (TDD), highlighting how it shifts the focus from testing code implementation to verifying application behavior. Students will learn how requirements can be transformed into features, stories, and executable acceptance criteria expressed in plain language. Through examples and discussion, the lesson shows how BDD improves collaboration between developers, testers, and business stakeholders, while reducing the brittleness of traditional unit tests. Participants will also see how BDD practices set the foundation for automation using Cucumber and Gherkin.
2) Cucumber Overview
This lesson introduces Cucumber as a framework that connects business-readable specifications to executable tests. Students will learn how features and scenarios are described in feature files, and how these files serve as both living documentation and test scripts. The session explains how step definitions act as the glue between natural language steps and executable code, and how Cucumber integrates with tools such as JUnit and IDEs like IntelliJ. By the end of this lesson, participants will understand the role of Cucumber in automating acceptance criteria and running tests across different environments
3) Executable Specifications
This lesson introduces Gherkin as the language used to create business-readable specifications that double as automated tests. Students will learn how to structure features, scenarios, and steps using keywords like Feature, Background, Scenario, Given, When, Then, and And. The lesson emphasizes how Gherkin provides a common language for stakeholders, ensuring clarity without exposing implementation details. Participants will also explore how step definitions connect Gherkin steps to executable code, making specifications both living documentation and functional tests.
4) Step Definitions
This lesson explains how step definitions serve as the bridge between natural language scenarios and executable code. Students will learn how Cucumber expressions and regular expressions are used to map feature file steps to methods, how to handle parameters and optional text, and how to work with data tables and scenario outlines. The session also addresses handling different result states such as success, undefined, failed, pending, and ambiguous steps. Finally, participants will explore techniques for organizing step definitions to keep test suites scalable and maintainable
5) Managing Cucumber
This lesson focuses on organizing and controlling test execution as Cucumber projects grow. Students will learn how to use tags to group features and scenarios, filter tests, and manage execution subsets. The session also covers hooks for setup and teardown at different stages, along with advanced options like conditional and global hooks. Additional topics include running dry-runs, customizing generated step definitions, and extending Cucumber with plugins for reporting and identifying unused steps. By the end of this lesson, participants will understand how to manage Cucumber effectively in larger, real-world test suites
Additional Topics: Time Permitting
These topics will be included in your course materials but may or may not be presented during the live class depending on the pace of the course and attendee skill level and participation.
This lesson explores how Cucumber generates reports to provide insight into test execution and application stability. Students will learn how to configure and use built-in reporter plugins such as pretty, HTML, JSON, and JUnit XML, as well as explore the Cucumber Reports Service for publishing and sharing results online. The session also covers other specialized formatters like progress, rerun, summary, and usage, along with guidance on creating custom plugins and formatters for advanced reporting needs. By the end of this lesson, participants will understand how to configure reporting to support team collaboration and continuous integration workflows
Tailor your learning experience with Trivera Tech. Whether you need a custom course offering or want to schedule a specific date and time for corporate training, we are here to help. Our team works with you to design a solution that fits your organization's unique needs; whether that is enrolling a small team or your entire department. Simply let us know how many participants you'd like to enroll and the skills you want to develop, and we will provide a detailed quote tailored to your request.
Contact Trivera Today to discuss how we can deliver personalized training that equips your team with the critical skills needed to succeed!