hegeltest_flutter 0.9.0
hegeltest_flutter: ^0.9.0 copied to clipboard
Flutter integration for hegeltest — property-based testing powered by Hegel's native engine. Use with flutter_test instead of package:test.
0.9.0 #
- New: Bump
hegeltestdependency to^0.9.0, bringingtc.classify(),tc.cover(),sampledWeighted(), andoneOfWeighted()to Flutter - New: Minimum distribution coverage assertions via
tc.cover()withInsufficientCoverageExceptionin Flutter tests - New: Direct weighted sampling with
sampledWeighted()andoneOfWeighted()combinators
0.8.0 #
- New:
hegelFlutterMonkeyTest()— Accessibility/Semantics monkey fuzzing for Flutter widgets and entire apps- Traverses the active
SemanticsOwnertree and discovers interactive accessibility nodes - Dispatches fuzzed actions (
tap,longPress,scroll,setText,increase/decrease,dismiss) - Automatically shrinks failing action sequences to minimal reproducing steps with trace logs
- Supports
allowedActionsfiltering,stepInvariant, andinvariantcallbacks
- Traverses the active
- New:
hegelFlutterLayoutSweepTest()— Comprehensive screen size and layout invariant sweep testing- Sweeps viewports across logical widths, heights, dynamic
TextScalerfont scales, LTR/RTL text directions, device pixel ratios, and keyboard insets - Automatically detects
RenderFlex overflowedand framework layout errors - Shrinks breaking viewports and font scales to find minimal boundary failure conditions
- Provides
LayoutSweepConfig,LayoutSample, andLayoutOverflowExceptionwith automatic view size cleanup
- Sweeps viewports across logical widths, heights, dynamic
- New: Re-export
SemanticsActionfrompackage:flutter/rendering.dartin barrel file
0.7.0 #
- New: Bump
hegeltestdependency to^0.8.0, bringing persistent counterexample database caching to Flutter - New: Automatic
.hegel/examples/caching of failing counterexamples with instant replay on iteration 1 - New: Auto-derived
databaseKeyscoped to test descriptions across unit, widget, and stateful test runners - New: Support
database: falseopt-out,HEGEL_DATABASE=0env var, and customdatabasePathdirectory - Docs: Comprehensive database documentation and CI caching configuration in README
0.6.0 #
- New: Bump
hegeltestdependency to^0.7.0, bringingtc.collect()observation statistics API to Flutter - Example: Update
example/main.dartdemonstratingtc.collect()in unit tests, widget configuration sweeps, and standalone runners - Docs: Expand README with
tc.collect()statistics distribution guidance and programmatic runner usage
0.5.1 #
- New:
example/main.dart— complete examples for unit, widget, and stateful property testing - Docs: Fix
strings()generator typo totext()in README widget test example - Docs: Add complete self-contained
CounterMachineimplementation in README - Docs: Document
runHegelFlutterTest()standalone runner in README
0.5.0 #
- New:
runHegelFlutterTest()— standalone property runner returningRunResultwithouttest()wrapper - Bump
hegeltestdependency to^0.6.1 - Docs:
CONTRIBUTING.md,CODE_OF_CONDUCT.md, issue/PR templates
0.4.0 #
- New:
hegelFlutterWidgetTest()— property-based testing for Flutter widgets
0.3.0 #
- Breaking: Minimum Dart SDK bumped to
>=3.10.0, Flutter>=3.38.0 - Bump
hegeltestdependency to^0.5.0(Native Assets integration) - Native library now auto-resolved via Dart Build Hooks — no manual setup needed
0.2.0 #
- New:
hegelFlutterStatefulTest()— stateful testing compatible withflutter_test - Bump
hegeltestdependency to^0.4.0 - Re-exports
StateMachine,StateRule,StateInvariant,Pool<T>from hegeltest
0.1.0 #
- Initial release
hegelFlutterTest()— property-based testing compatible withflutter_test- Re-exports all generators and types from
package:hegeltestv0.2.0 - Supported platforms: macOS arm64, Linux x64/arm64, Windows x64/arm64