Skip to content

Conversation

@jrushlow
Copy link
Collaborator

@jrushlow jrushlow commented Sep 25, 2024

Allows developers to set MAKER_TEST_DUMP_OUTPUT=true when running tests to view the raw output of a maker command during testing for local debugging purposes.


  • The value of MAKER_TEST_DUMP_OUTPUT must be the literal true. Values other then the string literal true are ignored.
  • This should never be used in CI or when running the entire test suite locally
  • It is meant to aid developers working on MakerBundle commands that need to see the actual output sub-process output && error output of maker commands that are executed via MakerTestRunner's runMaker() method.

Usage

MAKER_TEST_DUMP_OUTPUT=true vendor/bin/simple-phpunit --filter MakeVoter

maker-ss

@jrushlow jrushlow added Feature New Feature Status: Needs Review Needs to be reviewed DX labels Sep 25, 2024
@jrushlow jrushlow added this to the v1.62.0 milestone Sep 25, 2024
@jrushlow jrushlow merged commit 2067b29 into symfony:main Sep 26, 2024
@jrushlow jrushlow deleted the feature/dev-debug branch September 26, 2024 14:21
@jrushlow jrushlow mentioned this pull request Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DX Feature New Feature Status: Needs Review Needs to be reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant