Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Document settingTEST_GENERATE_FIXTURES=1 to update snapshots#21525

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
javiereguiluz merged 1 commit intosymfony:7.4fromGromNaN:snapshot-testing
Oct 30, 2025
Merged
Changes fromall 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
12 changes: 12 additions & 0 deletionscontributing/code/tests.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -64,6 +64,18 @@ what's going on and if the tests are broken because of the new code.
On Windows, install the `Cmder`_, `ConEmu`_, `ANSICON`_ or `Mintty`_ free applications
to see colored test results.

Testing Generated Code
----------------------

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

.. code-block:: terminal

$ TEST_GENERATE_FIXTURES=1 php ./phpunit src/Symfony/Component/Config/Tests/Builder/GeneratedConfigTest.php


.. _`install Composer`: https://getcomposer.org/download/
.. _Cmder: https://cmder.app/
.. _ConEmu: https://conemu.github.io/
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp