Add Test section in README.md

Use <project folder>, add the "$" symbol, remove the configuration of phpunit, add composer download and installation of dependencies.
This commit is contained in:
Davide Pastore 2014-07-17 20:02:28 +02:00 committed by davidepastore
parent 880f02b6bb
commit 40a7b1e7ba

View file

@ -19,6 +19,29 @@ Installation
Packages available on [PEAR](http://respect.li/pear) and [Composer](http://packagist.org/packages/Respect/Validation). Autoloading is [PSR-0](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md) compatible.
Test
----
### Linux
You can test the project using the commands:
```sh
$ cd <project folder>
$ curl -sS https://getcomposer.org/installer | php
$ composer.phar install
$ vendor/bin/phpunit tests
```
### Windows
You can test the project using the commands:
```sh
$ cd <project folder>
$ curl -sS https://getcomposer.org/installer | php
$ composer.phar install
$ vendor\bin\phpunit tests
```
Feature Guide
-------------