This course is a hands-on workshop intended to teach students how to do Acceptance Test Driven Development. The class begins with an overview of Acceptance Test Driven Development and Behavior Driven Development. It then focuses on requirements, using specification by example. Students are taught to move from User Stories to Features to document requirements. After the introductory material, the course shifts its focus to the Cucumber tool and Gherkin language. Students learn how to create executable acceptance tests that are the actual requirements. From there, the steps in the feature are converted into step definitions. Students will work numerous examples where they create and execute acceptance tests for existing web sites (special sites have been developed for this part of the course) and API’s. As part of these exercises, students will learn to refactor their test code, create a Domain Specific Language, and learn to use the Page Object Model pattern.
As programming exercises are included in the course work, a knowledge of Java is necessary.
3 Days/Lecture & Lab
The course is intended for testers, developers, quality engineers and managers who want a practical course in ATDD.
Introduction: What is ATDD/BDD/TDD?
- Cucumber and Gherkin
- Tools and web driver
- Programming the tests (step definitions) in Java
- Testing an API
- Advanced topics