@@ -16,14 +16,13 @@ In any case, it's a good practice to run tests locally before submitting a
16
16
Before Running the Tests
17
17
------------------------
18
18
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:
23
22
24
23
.. code-block :: bash
25
24
26
- $ composer install
25
+ $ composer update
27
26
28
27
.. _running :
29
28
@@ -35,7 +34,7 @@ command:
35
34
36
35
.. code-block :: bash
37
36
38
- $ phpunit
37
+ $ php ./ phpunit symfony
39
38
40
39
The output should display ``OK ``. If not, read the reported errors to figure out
41
40
what'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.
48
47
49
48
.. code-block :: bash
50
49
51
- $ phpunit src/Symfony/Component/Finder/
50
+ $ php ./ phpunit src/Symfony/Component/Finder/
52
51
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