Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix to pass additional args from the Flutter test template (#7261)#8836

Open
dkandalov wants to merge 1 commit intoflutter:mainfrom
dkandalov:fix-test-template-2
Open

Fix to pass additional args from the Flutter test template (#7261)#8836
dkandalov wants to merge 1 commit intoflutter:mainfrom
dkandalov:fix-test-template-2

Conversation

@dkandalov
Copy link

Fix to pass additional args from the Flutter test template (#7261)


  • I’ve reviewed the contributor guide and applied the relevant portions to this PR.
Contribution guidelines:

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request correctly fixes an issue where additional arguments from a test run configuration template were not being preserved. The change involves explicitly copying the additionalArgs from the existing configuration to the newly created TestFields. While the fix is correct, there is some code duplication across the setupForSingleTest, setupForDartFile, and setupForDirectory methods. I've left a comment with a suggestion to refactor this for better maintainability.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant