Skip to content

Conversation

@leoafarias
Copy link
Collaborator

Summary\n- make IconScope/TextScope tests assert dependency notifications via didChangeDependencies\n- make StyleAnimationDriver reset test meaningful and dispose local ValueNotifiers\n\n## Testing\n- not run (not requested)

claude and others added 4 commits December 26, 2025 23:19
Add tests for previously untested animation components:
- SpringCurve: physics-based curve behavior and constructors
- Keyframe/KeyframeTrack: construction, equality, sequence generation
- KeyframeAnimationResult: get<T>() with error handling
- NoAnimationDriver: instant spec changes without interpolation
- CurveAnimationConfig: delay, totalDuration, copyWith, spring factories
- AnimationConfigUtility: implicit() and call() methods

These tests increase coverage of the animation infrastructure
from ~58 tests to ~150+ meaningful behavior tests.
- SpringCurve stiffness test: verify different curves instead of ordering
- NoAnimationDriver: check AnimationStatus.forward (AlwaysStoppedAnimation behavior)
- Remove unnecessary import in animation_util_test
Animation tests:
- PhaseAnimationConfig: unit tests for params, onEnd, equality (previously untested)
- StyleAnimationBuilder: driver switching tests (curve→spring, animation→none)

Provider tests:
- TextScope: default value verification (softWrap, overflow, textWidthBasis, style)
- TextScope/IconScope: nested scope override behavior
- TextScope/IconScope: deep nesting access tests

These tests catch real composition and configuration change bugs.
@docs-page
Copy link

docs-page bot commented Dec 27, 2025

To view this pull requests documentation preview, visit the following URL:

docs.page/btwld/mix~810

Documentation is deployed and generated using docs.page.

@vercel
Copy link
Contributor

vercel bot commented Dec 27, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
mix-docs Ready Ready Preview, Comment Dec 27, 2025 6:27pm

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants