Training: BDD with Gherkin and Cucumber-Java
Booking
Duration: 2 Days
Contact: Siddhesh Nikude
Inquire via E-Mail
Phone: +91-95-52572354
Available Languages
- English
- German
Audience
Product Owners, Business Analysts, Requirements Engineers and Software Developers.
Goals
Learn how to improve your Agile Process with Behavior-Driven Development.
Contents
- Introduction
- TDD, BDD, ATDD
- Test Pyramid
- Unit Testing vs Acceptance Testing
- How to place Cucumber in the Test Pyramid
- Acceptance Testing with Cucumber
- Unit Testing with Cucumber
- BDD and User Stories: INVeST
- Specification by Example
- Gherkin
- Feature Files
- Given-When-Then Steps
- Scenarios
- Scenario Outlines / Examples
- Backgrounds
- Cucumber
- Implementing Step Definitions
- Implementing Step Definitions (Java 8)
- Assertions with JUnit
- Assertions with Hamcrest Matchers
- Setting Up Cucumber with IDEs
- Eclipse
- IntelliJ IDEA
- NetBeans
- Debugging
- Integrating Cucumber with Build Tools
- GNU make
- Apache Ant
- Apache Maven
- Gradle
- SBT
- Launching Cucumber from JUnit (JUnit 4 Cucumber Runner, JUnit 5 Cucumber Extension)
- Advanced Topics
- How to phrase
- Data Tables
- Custom Data Types
- Test Selection (Tags)
- Hooks
- Cross-layer-testing - Reusing your Feature Files
- Cucumber and Spring
- Accessing your under-test context
- Performance Tricks
- Data-Driven Testing in Cucumber
- Comparison with other frameworks
- Concordion
- Easyb
- Fit / FitNesse
- JBehave
- JDave
- JUnit
- TestNG
There are plenty of examples and exercises.
The course uses OpenJDK 18, Maven 3.8.5, Gradle 7.4.2, JUnit Platform 1.8.2, JUnit Jupiter 5.8.2, and Cucumber 7.3.4.