Skip to content

move test utils to separate package - #683

Merged
guidezpl merged 10 commits into
material-foundation:mainfrom
vauvenal5:feat/move-to-test-package
Aug 4, 2026
Merged

move test utils to separate package#683
guidezpl merged 10 commits into
material-foundation:mainfrom
vauvenal5:feat/move-to-test-package

Conversation

@vauvenal5

@vauvenal5 vauvenal5 commented Mar 10, 2026

Copy link
Copy Markdown
Contributor

Description

Separating test dependencies from prod dependencies.

Tests

Pure refactoring, used existing tests.

Issues

Fixes #682

Checklist

@google-cla

google-cla Bot commented Mar 10, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@vauvenal5
vauvenal5 marked this pull request as ready for review March 23, 2026 07:44
@vauvenal5
vauvenal5 requested review from a team and guidezpl and removed request for a team March 23, 2026 07:44
@vauvenal5

Copy link
Copy Markdown
Contributor Author

Not trying to be pushy, but since it has been a while I was hopping the get some feedback on this?

Update docs and package metadata to support the test-utils split from `dynamic_color` into `dynamic_color_testing`. This adds unreleased changelog notes in `dynamic_color`, updates README testing guidance to import/use `dynamic_color_testing`, switches the example to a versioned dev dependency, and makes `dynamic_color_testing` publish-ready by adding repository/issue tracker fields and hosted dependency constraints.
@guidezpl

guidezpl commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

Thanks for your contribution and sorry about the delay. I've made some small edits, namely renaming the package to avoid validation issues (ending with test) and published it (unlisted) to make it usable.

Switch dynamic_color_testing from a local path dependency to the published version on pub.dev, and add a dependency_override to keep using the local dynamic_color package.
Added dynamic_color_testing package entry to the packages table in the README.
@guidezpl
guidezpl merged commit 79290b7 into material-foundation:main Aug 4, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

flutter_test dependency in dynamic_color

2 participants