Behat / WebApiExtension

Behat extension to test web APIs
http://extensions.behat.org
MIT License
109 stars 113 forks source link

Use ClientInterface instead of specific implementation #16

Closed fesor closed 10 years ago

fesor commented 10 years ago

Code should rely on interface instead of specific implementations. This commit provide ability to replace GuzzleHttp\Client class implementation to different one (wrapped for example).

For example in case of extensions, which add context for matching responses of API, it is very useful to just wrap GuzzleHttp\Client class and replace it in container.

fesor commented 10 years ago

@stof ?

fesor commented 10 years ago

@stof, @FGM, @Swop is this repo is dead?