[tests] Structure agent-driven PHPUnit JSON results#329
Conversation
|
🚀 Preview is available for this pull request. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 860f47d77a
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 37b5ba1f1b
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4a228a21bd
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a40c792eb6
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 28aba82952
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c5181d6141
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 35380c1c4c
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Related Issue
Part of #248
Motivation / Context
--jsonand--pretty-jsonparseable across the DevTools command surface while reducing context consumption for agent-driven runs.Changes
ergebnis/phpunit-agent-reporterin the packagedphpunit.xmltestsruns so DevTools captures a stable nested PHPUnit payloadcontext.output, preserve prelude text asoutput.raw_output, and appendoutput.coveragewhen minimum-coverage validation is activeRunning...records during structured command runs so--jsonand--pretty-jsonemit one final JSON documentlog()calls and align command tests with the new contractContainerFactoryfallbacks and clean up related command/test plumbingServiceProvider\DevToolsServiceProvideralias wrapper and use the container service-provider namespace directlyDevToolsobject inDevToolsCommandProviderTestwith a proper test double stored inContainerFactoryUsesContainerFactoryto use PHPUnit lifecycle attributes instead of legacysetUpBeforeClass/tearDownAfterClassVerification
composer dev-toolscomposer dev-tools tests -- --filter='(DevToolsCommandProviderTest|HasJsonOptionTest|TestsCommandTest|ContainerFactoryTest|FundingCommandTest)'composer dev-tools tests -- --filter='(CodeStyleCommandTest|DependenciesCommandTest|DocsCommandTest|FundingCommandTest|GitAttributesCommandTest|GitHooksCommandTest|GitIgnoreCommandTest|LicenseCommandTest|MetricsCommandTest|PhpDocCommandTest|RefactorCommandTest|ReportsCommandTest|StandardsCommandTest|SyncCommandTest|TestsCommandTest|UpdateComposerJsonCommandTest|WikiCommandTest)'composer dev-tools changelog:check -- --file=CHANGELOG.md --against=origin/maintests --jsonandtests --pretty-jsonkeep the standard DevTools envelope and surface the bundled PHPUnit reporter payload incontext.outputreports --pretty-jsonemits one final structured document with nested subprocess payloads decoded into structured dataDocumentation / Generated Output
docs/updatedChangelog
CHANGELOG.mdentryReviewer Notes
.github/wikilocal preview drift was intentionally kept out of all commits.