Commit 0161e781 authored by Fabien Potencier's avatar Fabien Potencier

minor #1078 [1.2] Fix doc about running unit tests (GromNaN)

This PR was merged into the 1.2 branch.

Discussion
----------

[1.2] Fix doc about running unit tests

Alternative to #1075.

I've kept the syntax using phpunit.phar as it must be the most portable way to run PHPUnit (like it is for Composer).

Commits
-------

7bb4398e Fix README doc about running unit tests
parents a9dbda03 7bb4398e
...@@ -39,12 +39,12 @@ Read the `documentation`_ for more information. ...@@ -39,12 +39,12 @@ Read the `documentation`_ for more information.
Tests Tests
----- -----
To run the test suite, you need `Composer`_: To run the test suite, you need `Composer`_ and `PHPUnit`_:
.. code-block:: bash .. code-block:: bash
$ php composer.phar install --dev $ composer install
$ vendor/bin/phpunit $ phpunit
Community Community
--------- ---------
...@@ -58,5 +58,6 @@ Silex is licensed under the MIT license. ...@@ -58,5 +58,6 @@ Silex is licensed under the MIT license.
.. _Symfony2 components: http://symfony.com .. _Symfony2 components: http://symfony.com
.. _Composer: http://getcomposer.org .. _Composer: http://getcomposer.org
.. _PHPUnit: https://phpunit.de
.. _silex.zip: http://silex.sensiolabs.org/download .. _silex.zip: http://silex.sensiolabs.org/download
.. _documentation: http://silex.sensiolabs.org/documentation .. _documentation: http://silex.sensiolabs.org/documentation
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment