@@ -16,14 +16,13 @@ In any case, it's a good practice to run tests locally before submitting a
1616Before Running the Tests
1717------------------------
1818
19- To run the Symfony test suite, `install PHPUnit `_ 4.2 (or later) first. Then,
20- install the external dependencies used during the tests, such as Doctrine, Twig
21- and Monolog. To do so, :doc: `install Composer </cookbook/composer >` and execute
22- the following:
19+ To run the Symfony test suite, install the external dependencies used during the
20+ tests, such as Doctrine, Twig and Monolog. To do so,
21+ :doc: `install Composer </cookbook/composer >` and execute the following:
2322
2423.. code-block :: bash
2524
26- $ composer install
25+ $ composer update
2726
2827 .. _running :
2928
@@ -35,7 +34,7 @@ command:
3534
3635.. code-block :: bash
3736
38- $ phpunit
37+ $ php ./ phpunit symfony
3938
4039 The output should display ``OK ``. If not, read the reported errors to figure out
4140what's going on and if the tests are broken because of the new code.
@@ -48,6 +47,12 @@ what's going on and if the tests are broken because of the new code.
4847
4948 .. code-block :: bash
5049
51- $ phpunit src/Symfony/Component/Finder/
50+ $ php ./ phpunit src/Symfony/Component/Finder/
5251
53- .. _`install PHPUnit` : https://phpunit.de/manual/current/en/installation.html
52+ .. tip ::
53+
54+ On Windows, install the `ConEmu `_ or `ANSICON `_ free applications to see
55+ colored test results.
56+
57+ .. _ConEmu : https://code.google.com/p/conemu-maximus5/
58+ .. _ANSICON : https://github.com/adoxa/ansicon/releases
0 commit comments