Behat: Behavior Driven Development (BDD) with PHP Training Course

Course Code

behat

Duration

14 hours (usually 2 days including breaks)

Requirements

  • Experience with testing and knowledge of automated testing
  • Experience with PHP programming

Overview

Behat is a Behavior Driven Development (BDD) test framework written in PHP. It facilitates communication among developers, testers, business stakeholders and clients during the software development process. Behat allows non-technical people to write clear descriptions of an application's intended behavior, then runs those "scenarios" as functional tests against the application.

In this instructor-led, live training, participants will learn how to write and execute BDD style test cases using Behat and PHP.

By the end of this training, participants will be able to:

  • Run automated tests written in the human-readable, "Given, When, Then" Gherkin language
  • Use Behat based test cases to improve collaboration between technical and non-technical teams
  • Integrate Behat with Selenium, Mink, Goutte and other browser emulators to drive tests and generate reports
  • Extend Behat functionality through its extension system
  • Test numerous usage scenarios through terminal commands, REST APIs, and more.

Audience

  • Test engineers
  • Developers

Format of the course

  • Part lecture, part discussion, exercises and heavy hands-on practice

Course Outline

Introduction

  • Business Driven Development (BDD) and Acceptance Test Driven Development (ATDD)
  • BDD as a collaboration tool for software engineers, test engineers and business people

Defining your project requirements

Setting up your environment for web application testing

Gherkin: writing your stories in a user-friendly language

The anatomy of the Feature file

Writing your first feature

Writing scenarios for your feature

Writing step definitions

Passing parameters to Steps

Creating scenario outlines to pass multiple arguments

Sharing data between steps

Organizing features and scenarios with tags

Setup and teardown

Closing remarks

Testimonials

★★★★★
★★★★★

Related Categories

Related Courses

Course Discounts

Course Discounts Newsletter

We respect the privacy of your email address. We will not pass on or sell your address to others.
You can always change your preferences or unsubscribe completely.

Some of our clients

is growing fast!

We are looking to expand our presence in Sri Lanka!

As a Business Development Manager you will:

  • expand business in Sri Lanka
  • recruit local talent (sales, agents, trainers, consultants)
  • recruit local trainers and consultants

We offer:

  • Artificial Intelligence and Big Data systems to support your local operation
  • high-tech automation
  • continuously upgraded course catalogue and content
  • good fun in international team

If you are interested in running a high-tech, high-quality training and consulting business.

Apply now!

This site in other countries/regions