Closed passsy closed 9 months ago
The changes encompass a restructuring of widget matching and assertion functionalities in a Flutter testing framework. This overhaul involves relocating WidgetMatcher
declarations, eliminating specific matchers and extensions, and introducing enhanced testing capabilities for widgets. These adjustments aim to streamline the process of asserting on widgets, elements, and render objects, thereby improving the efficiency and usability of the testing framework.
Files | Change Summary |
---|---|
lib/spot.dart |
Reorganized WidgetMatcher declarations into widget_matcher.dart ; removed MultiMatchers , WidgetMatcherExtensions . |
lib/src/spot/.../diagnostic_props.dart , lib/src/spot/snapshot.dart |
Added/removed import statements for better organization. |
lib/src/spot/selectors.dart |
Overhauled widget matching, properties checking, and multi-widget matching classes and extensions. |
lib/src/spot/widget_matcher.dart , test/selectors/widget_matcher_test.dart |
Introduced WidgetMatcher and MultiWidgetMatcher functionality along with corresponding tests. |
🐰✨
In the land of code and Flutter,
Changes come, some soft, some utter.
Matchers move, and widgets find,
A better spot, with tests aligned.
🌟🐾
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
MultiWidgetMatcher
correctlynull
Summary by CodeRabbit