@@ -7,34 +7,14 @@ Symfony2 test suite to check that you have not broken anything.
7
7
PHPUnit
8
8
-------
9
9
10
- To run the Symfony2 test suite, install PHPUnit 3.5.0 or later first. As it is
11
- not stable yet, your best bet is to use the latest version from the
12
- repository, which is for now the 3.5.0RC2:
13
-
14
- .. code-block :: bash
15
-
16
- $ git clone git://github.com/sebastianbergmann/phpunit.git
17
- $ cd phpunit
18
-
19
- .. note ::
20
- You can list the tags of PHPUnit's repo with 'git tag', then quickly point
21
- out the last one.
22
-
23
- At this point you are working on the master branch, so let's switch to the
24
- last tag for some stability:
25
-
26
- .. code-block :: bash
27
-
28
- $ git checkout -b origin/3.5.0RC2 3.5.0RC2
29
-
30
- Finally, use PEAR to install the binaries of the last tag (use 'pear install
31
- -f' to force the installation of betas versions):
10
+ To run the Symfony2 test suite, `install `_ PHPUnit 3.5.0 or later first:
32
11
33
12
.. code-block :: bash
34
13
35
14
$ pear channel-discover pear.phpunit.de
36
- $ pear package
37
- $ pear install -f PHPUnit-3.5.0RC2.tgz
15
+ $ pear channel-discover components.ez.no
16
+ $ pear channel-discover pear.symfony-project.com
17
+ $ pear install phpunit/PHPUnit
38
18
39
19
Dependencies (optional)
40
20
-----------------------
@@ -105,3 +85,5 @@ browser.
105
85
.. tip ::
106
86
The code coverage only works if you have XDebug enabled and all dependencies
107
87
installed.
88
+
89
+ .. _install : http://www.phpunit.de/manual/current/en/installation.html
0 commit comments