Skip to content

Commit cada558

Browse files
committed
Minor tweaks
1 parent cce23ff commit cada558

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

contributing/code/tests.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,17 @@ what's going on and if the tests are broken because of the new code.
6767
Testing Generated Code
6868
----------------------
6969

70-
Some tests generate code on the fly and check that it matches expected stored in
71-
in a file. To regenerate those files, you can use the following approach, run
72-
the tests with the environment variable ``TEST_GENERATE_FIXTURES`` set to ``1``:
70+
Some tests generate code on the fly and verify that it matches the expected
71+
output stored in a file. To regenerate those files, run the tests with the
72+
environment variable ``TEST_GENERATE_FIXTURES`` set to ``1``:
7373

7474
.. code-block:: terminal
7575
7676
$ TEST_GENERATE_FIXTURES=1 php ./phpunit src/Symfony/Component/Config/Tests/Builder/GeneratedConfigTest.php
7777
78+
.. versionadded:: 7.4
79+
80+
The ``TEST_GENERATE_FIXTURES`` environment variable was introduced in Symfony 7.4.
7881

7982
.. _`install Composer`: https://getcomposer.org/download/
8083
.. _Cmder: https://cmder.app/

0 commit comments

Comments
 (0)