Behat training

The way to benefit from Behavior Driven Development

Objectives

You're wondering how to write good users stories? How to write meaningful testing? How Behavior Driven Development increases efficiency and enhances communication within a team? How to write Behat features?

Program

  1. Do not confuse TDD & BDD
    1. The TDD little story
    2. Limits of TDD
    3. BDD coming to the rescue
  2. Introducing Behat
    1. What's Behat
    2. Initialize a Behat project
    3. What's a Behat project made of?
  3. Getting started with Behat
    1. Do you speak Gherkin?
    2. Your first feature (congrats)
    3. Writing scenarios
    4. Let's try it together!
  4. The secrets of Behavior Driven Development
    1. How it works in real life
    2. Secrets to write good scenarios
    3. Tips to succeed in a project with BDD
  5. Introducing Mink: web app testing
    1. An API to rule them all
    2. Overview of the drivers: Goutte, Sahi, Selenium…
    3. Installing Mink
    4. Let's try it together!
  6. Associate Mink & Behat
    1. Adding the right sub-context
    2. Configuring Mink
    3. The Mink steps
    4. Let's try it together!
  7. Scenario Outlines
    1. Refactoring is good for kittens
    2. Using a Scenario Outline in the real world
    3. Let's try it together!
  8. Chaining steps
    1. Example
    2. Why it's good for your health
    3. Let's try it together!
  9. Hooks, captain!
    1. What's this about?
    2. The problem you couldn't solve
    3. Hooks coming to the rescue
    4. Let's try it together!
  10. Backgrounds
    1. The funny theory behind backgrounds
    2. Let's try it together!
  11. Describing and writing a full project using Behat

Practical

Duration:
1 day
Cost:
Contact us.
Size:
≤ 8 trainees
Prerequisites:
To know PHP
Places:
Available in the whole world.

Next sessions

Nantes
France
25 Sep
français
500 €
per person
Book it
Nantes
France
11 Aug
français
500 €
per person
Full
Nantes
France
7 Jul
français
500 €
per person
Full
Intra* your time on demand More info

Intra-company training: we come to your company (anywhere in the world) to train your team.

Our "Happy Awesome Clients"