Skip to content

Commit 754dbd6

Browse files
committed
updated information about PHPUnit as 3.5.0 is now out
1 parent 7c59406 commit 754dbd6

File tree

1 file changed

+6
-24
lines changed

1 file changed

+6
-24
lines changed

contributing/code/tests.rst

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -7,34 +7,14 @@ Symfony2 test suite to check that you have not broken anything.
77
PHPUnit
88
-------
99

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:
3211

3312
.. code-block:: bash
3413
3514
$ 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
3818
3919
Dependencies (optional)
4020
-----------------------
@@ -105,3 +85,5 @@ browser.
10585
.. tip::
10686
The code coverage only works if you have XDebug enabled and all dependencies
10787
installed.
88+
89+
.. _install: http://www.phpunit.de/manual/current/en/installation.html

0 commit comments

Comments
 (0)