Description
In this course, you will :
- Discover how to use Cucumber to implement agile practises such as BDD, test-driven development (TDD), and acceptance test-driven development (ATDD) (ATDD).
- goes over the fundamentals of BDD, TDD, and ATDD before diving into the Cucumber workflow
- demonstrates how to map user stories to features, add hooks, generate reports, and use techniques to make BDD more maintainable.
Syllabus :
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
7. Miscellaneous
- Continuous integration and BDD
- SpecFlow: Installation
- SpecFlow: Running tests