Acceptance Test Driven Development (ATDD)

21 Ratings

Course Number: JAV-308
Duration: 3 days (19.5 hours)
Format: Live, hands-on

ATDD Training Overview

Accelebrate's ATDD training course teaches participants how to create acceptance tests that verify their correct implementation and accurately transform customer requirements into product specifications.

Location and Pricing

Accelebrate offers instructor-led enterprise training for groups of 3 or more online or at your site. Most Accelebrate classes can be flexibly scheduled for your group, including delivery in half-day segments across a week or set of weeks. To receive a customized proposal and price quote for private corporate training on-site or online, please contact us.

In addition, some courses are available as live, instructor-led training from one of our partners.

Objectives

  • Capture the core JUnit syntax
  • Use BDD and the test-fail-first approach
  • Translate business requirements into user stories with acceptance tests
  • Learn how to Refactor to clean up your code
  • What makes your code testable
  • Use Fakes and Mocks for isolated unit tests
  • Use Cucumber-JVM to turn User Stores into Code
  • Explore the Selenium API

Prerequisites

All attendees should have prior Java development experience.

Outline

Expand All | Collapse All

How Stories Fit Into the Agile Process
  • What is Agile?
  • The role of the product owner
  • Criteria for evaluating stories
  • Requirement analysis
  • Use case modelling
  • Herringbone diagram
  • Context diagrams
  • The role of the product backlog
Behavior Driven Development (BDD) with Cucumber
  • Writing user stories
  • Acceptance criteria
  • Specification by example
  • Creating software based on realistic examples
  • Bridging the communication gaps among business stakeholders
Introduction to Cucumber
  • Writing scenarios with Gherkin
  • Gherkin syntax
  • Using given, when, then
  • Java, Ruby, or Groovy fixtures generated from scenarios
  • Using JUnit to run your Cucumber stories and scenarios
  • Writing set-up and tear down code using hooks (@Before and @After)
  • Automate Cucumber steps to drive your application both through and below the user interface
  • Refactor Cucumber step definitions to make them more readable and maintainable
Selenium
  • Web testing
  • A history of selenium
  • Selenium API – web driver
  • Assertions
  • Matching
  • Waiting
  • Storing
  • JavaScript
  • The Selenium IDE
  • Building tests
  • Running test suites
  • Best practices
Testing Web Sites with Selenium with Cucumber
  • Using a WebDriver to test web applications and the Selenium API
  • Interrogating a response page
  • Simulating links and form submissions
  • Simulate multiple page navigation
  • Continuous integration
Stories and Test Driven Development (TDD)
  • Principles and techniques
  • TDD metaphors
  • Benefits, challenges and limitations
  • Handling requirements change
  • Characteristics of good tests
Testable Designs (Mocks, Fakes and Stubs)
  • Creating testable code, If you cannot test it what use is it?
  • Stubs, Fakes and Mocks
  • Mocks as collaborators
  • Mocks and return values, void methods, frequency calls and ordering
  • Cucumber, Mocks and all that!
Conclusion

Training Materials

All attendees receive comprehensive courseware covering all topics in the course.

Software Requirements

  • Windows, macOS, or Linux with at least 8 GB RAM
  • A recent JDK version installed
  • Related software that Accelebrate will specify in a detailed setup sheet following the purchase of this class


The instructor showed me the true value of TDD and the ability to support this type of development with really cool tools like Cucumber. Guided by Derek, we clearly saw that TDD is a powerful concept that everyone must truly commit to in order to utilize the value. TDD is not something that can be broken down and borrowed from. It is a way of life. Derek helped me understand that and realize the true potential of this coding style. Great instructor!!!!!

 Andrew K. - Leidos, Houston, TX

Learn faster

Our live, instructor-led lectures are far more effective than pre-recorded classes

Satisfaction guarantee

If your team is not 100% satisfied with your training, we do what's necessary to make it right

Learn online from anywhere

Whether you are at home or in the office, we make learning interactive and engaging

Multiple Payment Options

We accept check, ACH/EFT, major credit cards, and most purchase orders



Recent Training Locations

Alabama

Birmingham

Huntsville

Montgomery

Alaska

Anchorage

Arizona

Phoenix

Tucson

Arkansas

Fayetteville

Little Rock

California

Los Angeles

Oakland

Orange County

Sacramento

San Diego

San Francisco

San Jose

Colorado

Boulder

Colorado Springs

Denver

Connecticut

Hartford

DC

Washington

Florida

Fort Lauderdale

Jacksonville

Miami

Orlando

Tampa

Georgia

Atlanta

Augusta

Savannah

Hawaii

Honolulu

Idaho

Boise

Illinois

Chicago

Indiana

Indianapolis

Iowa

Cedar Rapids

Des Moines

Kansas

Wichita

Kentucky

Lexington

Louisville

Louisiana

New Orleans

Maine

Portland

Maryland

Annapolis

Baltimore

Frederick

Hagerstown

Massachusetts

Boston

Cambridge

Springfield

Michigan

Ann Arbor

Detroit

Grand Rapids

Minnesota

Minneapolis

Saint Paul

Mississippi

Jackson

Missouri

Kansas City

St. Louis

Nebraska

Lincoln

Omaha

Nevada

Las Vegas

Reno

New Jersey

Princeton

New Mexico

Albuquerque

New York

Albany

Buffalo

New York City

White Plains

North Carolina

Charlotte

Durham

Raleigh

Ohio

Akron

Canton

Cincinnati

Cleveland

Columbus

Dayton

Oklahoma

Oklahoma City

Tulsa

Oregon

Portland

Pennsylvania

Philadelphia

Pittsburgh

Rhode Island

Providence

South Carolina

Charleston

Columbia

Greenville

Tennessee

Knoxville

Memphis

Nashville

Texas

Austin

Dallas

El Paso

Houston

San Antonio

Utah

Salt Lake City

Virginia

Alexandria

Arlington

Norfolk

Richmond

Washington

Seattle

Tacoma

West Virginia

Charleston

Wisconsin

Madison

Milwaukee

Alberta

Calgary

Edmonton

British Columbia

Vancouver

Manitoba

Winnipeg

Nova Scotia

Halifax

Ontario

Ottawa

Toronto

Quebec

Montreal

Puerto Rico

San Juan