header photo

LeanDog

An Agile Software Studio

Acceptance Test Driven Development

Who should attend

This course is for QA Professionals that want to fundamentally change the way they test software applications.

Learning Outcomes

The course introduces you to the concepts of Acceptance Test Driven Development, also called Specification Driven Development. You learn how Acceptance Test Driven Development changes the workflow of the whole team. Through a series of targeted workshops, this course introduces Cucumber and Ruby scripting and the techniques necessary to write tests that are robust and easy to maintain. The five-day course includes how to read and write data to a database for your tests, read and write XML files, and modify your scripts to handle the special needs of Ajax applications.

Course Preparation

This course assumes the attendee has no scripting or programming experience. We will introduce all of the scripting techniques necessary in order to write robust automation scripts. Therefore, there are no pre-requisites for this course.

Course Structure and Pricing

We offer a three and five day version of the course.

*Contact us for in-house pricing.

Instructor Credentials

Our instructors are coaches that have worked with teams helping them adopt the practices taught here. We have real-world experience implementing these practices on teams using varied technologies.

Why our course is the best choice

Most automation efforts fail because tests become brittle over time and hard to maintain. What really sets this course apart from other courses is the focus on creating tests that are easy to maintain. This course has a unique way of introducing engineering concepts in a non-threatening manner. These concepts are essential to ensure the longevity of your automation efforts.

Three-Day Course Agenda

Day 1

  • An Introduction to Acceptance Test Driven Development
  • Communications Exercises
  • An Introduction to Watir & Ruby
    • Our first web test
    • Using Web Development Tools
    • Writing and executing Watir scripts
    • Making our scripts low maintenance
    • Building reusable components

Day 2

  • Introducing Cucumber
    • The structure of a Cucumber project
    • Writing and executing Cucumber scripts
    • Reporting in Cucumber
    • Different types of Scenarios in Cucumber
    • Removing duplication in our scripts
    • Testing complex scenarios

Day 3

  • More Cucumber
    • Classes & Objects
    • Ruby data types
    • Using the PageObjects gem to simplify our tests
    • Introducing regular expressions
    • Page factories
    • Transformations
    • Creating high level tests
    • Default data
  • Workflow
    • Writing the tests before the application

Five-Day Course Agenda

The 5-Day course follows the same agenda as the 3-Day course for the first two days.

Day 3

  • More Cucumber
    • Classes & Objects
    • Ruby data types
    • Using the PageObjects gem to simplify our tests
    • Introducing regular expressions
    • Page factories
    • Transformations
    • Creating high level tests
    • Default data
    • Finding Nested Elements

Day 4

  • More Cucumber
    • Using modules for reusable page partials
    • RSpec custom matchers
    • Writing cukes for a non-existant workflow
    • Tags & Focus
  • Accessing Databases
    • Gemfile and Bundler
    • ActiveRecord
    • Cucumber and Databases
    • Factory Girl
    • Combine Web and DB
    • Keeping you database clean

Day 5

  • XML
    • Reading and Searching in XML
    • Verifying XML Content
    • Creating XML Documents
  • Testing Web 2.0
    • Ajax - waiting for asynchronous events
    • Page level waiting
    • Element level waiting
    • Testing applications with a lot of ajax controls
  • Workflow
    • Writing the tests before the application
    • Pre-Sprint workflow
    • Sprint workflow
    • Gotchas to watch out for
    • ATDD Recap

Register

Dates and Locations

Training

What We Do

What We Practice

What We Say

Who We Are

Stop By

Address
1151 North Marginal Road
Cleveland, OH, 44114

E-Mail
info@leandog.com training@leandog.com gigs@leandog.com

Phone
216.236.4705
216.2dogs05