1
0
mirror of https://github.com/guzzle/guzzle.git synced 2025-01-29 19:27:34 +01:00

Adding information about unit testing to the readme

This commit is contained in:
Michael Dowling 2012-10-31 22:47:44 -07:00
parent d22230f1b6
commit 8cffe26006

View File

@ -192,3 +192,11 @@ $request = $client->get(array('/{?a,b}', array(
The resulting URL would become ``http://test.com?a=hi&b=there``
Unit testing
------------
[![Build Status](https://secure.travis-ci.org/guzzle/guzzle.png?branch=master)](http://travis-ci.org/guzzle/guzzle)
Guzzle uses PHPUnit for unit testing. In order to run the unit tests, you'll firt need
to install the dependencies of the project using Composer: `php composer.phar install --dev`.
You can then run the tests using `vendor/bin/phpunit` or `phing test` (if you have phing installed).