From 9aeecbc15466cd6366a888a932f1ab4d376388e8 Mon Sep 17 00:00:00 2001 From: Baptiste Pizzighini Date: Fri, 10 Sep 2010 11:42:02 +0200 Subject: [PATCH] Added some details on PHPUnit 3.5.XXX installation. --- contributing/code/tests.rst | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) mode change 100644 => 100755 contributing/code/tests.rst diff --git a/contributing/code/tests.rst b/contributing/code/tests.rst old mode 100644 new mode 100755 index 89578ac1eab..f0f9112f3ba --- a/contributing/code/tests.rst +++ b/contributing/code/tests.rst @@ -9,14 +9,34 @@ PHPUnit To run the Symfony2 test suite, install PHPUnit 3.5.0 or later first. As it is not stable yet, your best bet is to use the latest version from the -repository: +repository, which is for now the 3.5.0RC2 : .. code-block:: bash $ git clone git://github.com/sebastianbergmann/phpunit.git $ cd phpunit + +.. note:: + You can list the tags of PHPUnit's repo with 'git tag', then quickly point out the last one. + +At this point you are working on the master branch, so let's switch to the last tag for some stability: + +.. code-block:: bash + + $ git checkout -b origin/3.5.0RC2 3.5.0RC2 + +Finally, use PEAR to install the binaries of the last tag (use 'pear install -f' to force the installation of betas versions) : + +.. code-block:: bash + + $ pear channel-discover pear.phpunit.de $ pear package - $ pear install PHPUnit-3.5.XXX.tgz + $ pear install -f PHPUnit-3.5.0RC2.tgz + +As you're using an unstable version of PHPUnit, you should really run it on itself : +.. code-block:: bash + + $ phpunit Dependencies (optional) ----------------------- pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy