flutter_hooks_test 2.0.0
flutter_hooks_test: ^2.0.0 copied to clipboard
Simple and complete Flutter hooks testing utilities that encourage good testing practices.
2.0.0 #
BREAKING CHANGES
- Remove
debug()methods fromHookResultand_HookTestingActionclasses - Internal implementation restructured with new base classes
Features
- Add type-safe API with separate
buildHook()andbuildHookWithProps()functions - Implement build history tracking with
result.allandresult.buildCountproperties - Add
waitForutilities for async testing scenarioswaitFor(condition)- Wait for condition to become truewaitForValueToChange(getValue)- Wait for value to changeresult.waitForNextUpdate()- Wait for hook rebuildresult.waitForValueToMatch(predicate)- Wait for specific condition
Improvements
- Improve DartDoc accuracy and clarity
- Update documentation with Flutter terminology (widget vs component)
- Better error messages and examples in documentation
1.0.0 #
Feature
- Update flutter_hooks to "^0.21.2"
Development
- Update to Melos 6.3.3