Skip to content

Files

Latest commit

author
Florent Morselli
Aug 19, 2016
693d0db · Aug 19, 2016

History

History
56 lines (38 loc) · 968 Bytes

index.rst

File metadata and controls

56 lines (38 loc) · 968 Bytes

Web API Extension

Installation

This extension requires:

  • Behat 3.0+
  • PHP 5.4+

Through Composer

The easiest way to keep your suite updated is to use Composer:

  1. Define dependencies in your composer.json:

    {
        "require-dev": {
            ...
    
            "behat/web-api-extension": "~1.0@dev"
        }
    }
  2. Install/update your vendors:

    $ composer update behat/web-api-extension
  3. Activate extension by specifying its class in your behat.yml:

    # behat.yml
    default:
      # ...
      extensions:
        Behat\WebApiExtension: ~

Usage

Configuring the guzzle client