optitest 1.0.2
optitest: ^1.0.2 copied to clipboard
OptiTest — stable automation keys and testable widget wrappers for Flutter apps driven by Appium, Flutter Driver, or integration tests.
📌 Changelog #
All notable changes to OptiTest are documented here. Most recent release at the top.
🔄 Versioning Strategy #
Follows Semantic Versioning:
- 🚀 MAJOR — breaking API changes
- 🌟 MINOR — backward-compatible features
- 🛠 PATCH — backward-compatible fixes
🛠 [1.0.2] — Layout Safety Guardrail #
- 🛡 Safety:
Testableasserts in debug thatchildis not aParentDataWidget(Expanded,Flexible,Positioned, …), which would otherwise breakFlex/Stacklayout silently - ⚙️ Debug-only: zero cost in release builds
🛠 [1.0.1] — Documentation Polish #
- 📚 Documentation: minor README improvements for better pub.dev rendering
🎯 [1.0.0] — Initial Release #
-
🆕 New Features:
Testablewidget — applies a stableValueKey+Semantics.identifierfor Appium, Flutter Driver, and integration testsTestKey— 30 element factories (button,input,radio,listItem,bottomSheet, …) producing deterministic keysElementTypeenum — 3-char prefix per element kind, collision-freeElementStateenum — optional state suffix (disabled,error,loading,selected, …)- 40-character auto-truncation to stay within Appium / Semantics driver limits
-
📚 Documentation:
-
⚙️ Infrastructure:
- Zero runtime dependencies outside the Flutter SDK
- MIT licensed, pub.dev ready