Automating Tests with Cucumber

Adjustable to meet your needs.
Individual:
$1295.00
Group Rate:
$1195.00
GSA Discount:
$945.35
When training eight or more people, onsite team training offers a more affordable and convenient option.
Register Now
Request Quote
Individual
Onsite
Overview

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.  Gherkin syntax using a Given-When-Then format is a common way of expressing these acceptance tests.    

Automating the tests expressed in Gherkin using Cucumber gives rapid verification that the system is delivering business value. Through examples and exercises, this course shows the developer how to write the code necessary to connect tests with Cucumber to Java production code. It demonstrates ways to reduce test redundancy with scenario outlines and tables. It presents examples on setting up test doubles (mocks) to speed up testing.  

To connect tests to production code using step-definitions
Find how to reuse scenarios with scenario outlines
Avoid redundancy in tests by using tables
Discover different ways to organize tests
Automate a set of tests for a story
Upcoming Dates and Locations
Guaranteed To Run
Oct 30, 2017    9:30am – 5:30pm Live Online
9:30am – 5:30pm
Register
Dec 4, 2017    8:30am – 4:30pm Live Online
8:30am – 4:30pm
Register
Dec 4, 2017    8:30am – 4:30pm Washington, District of Columbia

Please call ASPE for location details
at 1-877-800-5221
Washington, DC 20001
United States

Register
Jan 8, 2018    10:30am – 5:30pm Live Online
10:30am – 5:30pm
Register
Feb 5, 2018    10:30am – 5:30pm Dallas, Texas

Microtek Dallas
5430 Lyndon B Johnson Fwy
Three Lincoln Centre, Suite 300
Dallas, TX 75240
United States

Register
Mar 5, 2018    10:30am – 5:30pm Live Online
10:30am – 5:30pm
Register
Apr 4, 2018    10:30am – 5:30pm Washington, District of Columbia

Microtek-Washington, DC
1110 Vermont Avenue NW
Suite 700
Washington, DC 20005
United States

Register
May 1, 2018    10:30am – 5:30pm Live Online
10:30am – 5:30pm
Register
Jun 4, 2018    10:30am – 5:30pm Phoenix, Arizona

Dynamic Worldwide
4500 S. Lakeshore Dr
Suite 600
Tempe, AZ 85282
United States

Register
Jul 9, 2018    10:30am – 5:30pm Live Online
10:30am – 5:30pm
Register
Aug 1, 2018    10:30am – 5:30pm Columbia, Maryland

Homewood Suites by Hilton
8320 Benson Drive
Columbia, MD 21045
United States

Register
Sep 4, 2018    10:30am – 5:30pm Live Online
10:30am – 5:30pm
Register
Oct 1, 2018    10:30am – 5:30pm New York, New York

Microtek New York City
180 Maiden Lane
Suite 1102
New York, NY 10038
United States

Register
Nov 5, 2018    10:30am – 5:30pm Live Online
10:30am – 5:30pm
Register
Dec 3, 2018    10:30am – 5:30pm San Diego, California

San Diego Training and Conference Center
350 Tenth Avenue
Suite 950
San Diego, CA 92101
United States

Register
Course 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
  • Ways to create test doubles / mocks with exercise​

 

In-Class Exersices:

  • Step definition exercise shows basic connection to Java code
  • Scenario outline exercise demonstrates how to use an example table to re-use the same scenario for different values
  • Table exercise demonstrates how to use tables in tests to clarify domain terms
  • Background exercise displays use of common setup
  • Test double exercise presents how to setup and use test doubles
Who should attend

Developers who automate tests along with the following professions would find this course beneficial:

  • Software Developers
  • Software Programmers
  • Quality Assurance Professionals
  • Software Testers
  • Product Owners
  • Business Analysts
  • Project Managers
  • IT Managers
  • Software Engineers
Pre-Requisites

Prior experience with Java, and knowledge of test automation are necessary in order to find this course beneficial.