velo_test 1.0.1 copy "velo_test: ^1.0.1" to clipboard
velo_test: ^1.0.1 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.1 - 2025-08-24 #

Fixed #

  • Fixed type casting error when using TypeMatcher instances (like isA<State>()) in veloTest expect parameter
  • Added proper support for both TypeMatcher objects and actual state values in expect assertions
  • Improved error handling for mixed matcher and state value scenarios

1.0.0 - 2025-08-24 #

Added #

  • Initial release of Velo Test utilities package
  • MockVelo class for testing with state history tracking
  • State verification methods (verifyStateEmitted, verifyStatesEmittedInOrder)
  • Pre-built test helpers (CounterVelo, SimpleVelo, CounterState, SimpleState)
  • Widget testing utilities (VeloWidgetTester extension)
  • 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
0
likes
0
points
9
downloads

Publisher

verified publisherstevenosse.com

Weekly Downloads

Testing utilities for the Velo state management package.

Repository (GitHub)
View/report issues

Topics

#testing #state-management #flutter #velo

Documentation

Documentation

License

unknown (license)

Dependencies

equatable, flutter, flutter_test, meta, provider, velo

More

Packages that depend on velo_test