Automating Tests with Cucumber
Built-in quality allows quicker delivery of business value. One of the key practices in realizing built-in quality is Acceptance Test-Driven Development (ATDD) / Behavior Driven Development (BDD). The triad (customer, tester, and developer) creates acceptance tests to provide a joint understanding of the requirements. Automating the acceptance tests with Cucumber gives rapid verification that the system is delivering that business value.
OBJECTIVES
This course shows how to automate tests using Cucumber. You will:
- Learn how to connect tests to production code using step-definitions
- Find how to avoid redundancy in tests using outlines and tables
- Discover different ways to organize tests
- Automate a set of tests for a story
INSTRUCTOR
Ken Pugh, author of Lean-Agile Acceptance Test-Driven Development: Better Software Through Collaboration
TARGET AUDIENCE
Developers who are going to be automating tests
OUTLINE
- Introduction
- Flow and business rule tests
- Feature files
- Scenarios
- Step definitions
- Asserts
- Regular expressions
- Exercise
- Scenario outlines with exercise
- Tables with exercise
- Background with exercise
- Additional Cucumber syntax and features
- Tags
- Before and After
- Some proven practices
- Alternative ways to organize tests
- Full scale exercise
ATTENDEE MATERIALS
Workshop materials are provided at the start of the class
ROOM SETUP AND EQUIPMENT
Computer for every two students, preloaded with Cucumber and start-up exercise
Flip chart and whiteboard for the instructor
A projector with screen
PREREQUISITES
Java experience
COURSE LENGTH
1 day
MAXIMUM
24 students
PROVIDER
Ken Pugh, Inc. 732 Ninth Street #695, Durham, NC 27705
Course copyright © 2007-2017 Ken Pugh
CONTACT
Leslie Killeen 919-490-6335 leslie@kenpugh.com