Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for #6625 #6628

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions book/testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ it has its own excellent `documentation`_.

.. note::

It's recommended to use the latest stable PHPUnit version (you will have
to use version 4.2 or higher to test the Symfony core code itself).
It's recommended to use the latest stable PHPUnit version, `installed as
PHAR`_ (you will have to use version 4.2 or higher to test the Symfony core
code itself).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh well, now that I look at this again: I think we should remove the note about the core as testing Symfony itself is a bit different (we have our own PHPUnit wrapper script).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see #6672


Each test - whether it's a unit test or a functional test - is a PHP class
that should live in the ``tests/`` directory of your application. If you follow
Expand Down Expand Up @@ -910,3 +911,4 @@ Learn more

.. _`$_SERVER`: http://php.net/manual/en/reserved.variables.server.php
.. _`documentation`: https://phpunit.de/manual/current/en/
.. _`installed as PHAR`: https://phpunit.de/manual/current/en/installation.html#installation.phar