Skip to content

Commit 45dd690

Browse files
gajdawweaverryan
authored andcommitted
running tests on a single component
1 parent c953249 commit 45dd690

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

contributing/code/tests.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,15 @@ command:
6363
The output should display `OK`. If not, you need to figure out what's going on
6464
and if the tests are broken because of your modifications.
6565

66+
.. tip::
67+
68+
If you want to test a single component type it's path after `phpunit`
69+
command, e.g.:
70+
71+
.. code-block:: bash
72+
73+
$ phpunit src/Symfony/Component/Finder/
74+
6675
.. tip::
6776

6877
Run the test suite before applying your modifications to check that they

0 commit comments

Comments
 (0)