flutter_testmap 0.2.2
flutter_testmap: ^0.2.2 copied to clipboard
Smart, conservative test impact analysis and targeted test runner for Flutter and Dart projects.
CHANGELOG #
0.2.2 ? Public Beta Quality Release #
Added #
- Corrected Repository Metadata: Updated repository, homepage, and issue tracker URLs to https://github.com/faroukmoamed337-blip/flutter_testmap.
- Public API Restructuring: Isolated internal implementation under lib/src/ and established a clean, documented public entry point in lib/flutter_testmap.dart.
- Analyzer API Modernization: Upgraded AST symbol visitor to non-deprecated Analyzer APIs (Element2, InterfaceElement2, ExtensionElement2, enclosingElement2, element3).
- CLI Usage Example: Added discoverable example documentation in example/README.md and programmatic sample in example/example.dart.
- Pub.dev Quality Optimizations: Resolved static analysis warnings and achieved 0 dry-run publish warnings.
0.2.1 ? Public Beta Candidate #
Added #
- Symbol-Level Precision Engine: Uses resolved AST element models (AnalysisContextCollection & AnalysisSession) to trace exact call graph dependencies (class, constructor, method, unction, getter, setter, static).
- Same-File / Different-Method Precision: Modifying getUser() inside a repository marks get_user_test as affected while leaving delete_user_test skipped.
- Explainable Call Paths (--explain): Output readable symbol impact call paths showing exact dependency chains.
- Adversarial Validation Suite: Validated across 20 adversarial edge cases (interface/implementation, private transitive methods, generics, extension methods, method tear-offs, closures, service locators, barrel exports, override chains).
- Fail-Safe Hierarchy: Preserves 100% of fallback protections (Symbol-Level Safe -> File-Level Safe -> Full Suite Fallback).
- Machine-Readable JSON: Extended --json output format.
0.1.1 ? Safety Release #
Added #
- Fail-Safe Fallback Engine: Automatic fallback to 100% test execution for project configuration changes (pubspec.yaml, pubspec.lock, nalysis_options.yaml, uild.yaml) and native platform changes (ndroid/, ios/, macos/, windows/, linux/, web/).
- Analysis Error Fallback: Severe syntax errors trigger full test suite execution.
- Conservative Mode (--conservative): Forces fallback on change uncertainty.
- Safety Statuses & Fallback Reasons: Structured safety tags (safe, allback, uncertain).