An open API service indexing awesome lists of open source software.

https://github.com/o/rest-api-test-example

Testing REST API's with Guzzle (3|4) and PHPUnit
https://github.com/o/rest-api-test-example

Last synced: 8 months ago
JSON representation

Testing REST API's with Guzzle (3|4) and PHPUnit

Awesome Lists containing this project

README

          

This repository demonstrates using Guzzle for testing REST API's with PHPUnit.

First of all you need to install `composer` for installing dependencies.

If you have already, install dependecies with,

composer install

To running tests,

vendor/bin/phpunit --testdox

Special thanks to [Norbert C. Maier](https://github.com/normai) for adding tests for Guzzle 4. See pull request #2 for other notes.

[![Build Status](https://travis-ci.org/o/rest-api-test-example.svg)](https://travis-ci.org/o/rest-api-test-example)