hanhan1978/restapi-extension

Restful API Test extension for behat

1.0.6 2016-07-25 03:04 UTC

This package is not auto-updated.

Last update: 2025-04-23 19:27:00 UTC


README

Build Status

RestApiExtension

is an extension for REST API testting with Behat

Installation

via composer

    "require": {
        "hanhan1978/restapi-extension": "1.0.*"
    },

Settings for behat.yml

default:
    extensions:
        Behat\RestApiExtension: 
            base_url: http://127.0.0.1:3000/
    suites:
        default:
            contexts:
              - 'Behat\RestApiExtension\Context\RestApiContext'

=> change base_url to your own.