velo_test 1.0.0
velo_test: ^1.0.0 copied to clipboard
Testing utilities for the Velo state management package.
Changelog #
All notable changes to the Velo Test package will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.0.0 - 2025-08-24 #
Added #
- Initial release of Velo Test utilities package
MockVeloclass for testing with state history tracking- State verification methods (
verifyStateEmitted,verifyStatesEmittedInOrder) - Pre-built test helpers (
CounterVelo,SimpleVelo,CounterState,SimpleState) - Widget testing utilities (
VeloWidgetTesterextension) - Test widget creators (
createVeloBuilderTestWidget,createVeloListenerTestWidget) - Async testing helpers (
waitForCondition,waitFor,waitForVeloState) - Comprehensive documentation and examples
Features #
- State history tracking for all emissions
- Emission count tracking for specific states
- Widget testing support for all Velo widgets
- Timeout handling for async operations
- Integration with flutter_test framework
- Cross-platform testing support