Skip to main content

fluttertest_ai 0.1.0 copy "fluttertest_ai: ^0.1.0" to clipboard
fluttertest_ai: ^0.1.0 copied to clipboard

A local-first CLI that analyzes Flutter apps and generates conservative, runnable tests without an API key.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Unreleased #

0.1.0 - 2026-09-13 #

Added #

  • Initial local-first Flutter test analysis, generation, execution, repair, and reporting MVP
  • CLI commands: doctor, analyze, generate, run, fix, report
  • AST-based source analysis using the Dart analyzer package
  • State management detection for: setState, Provider, Riverpod, BLoC/Cubit, GetX, Redux, MobX, ValueNotifier, Signals, and custom/unknown
  • Dedicated test harness adapters for each supported state management approach
  • Generic fallback for unknown state management with behavior-based widget tests
  • Unit test generation for: pure functions, validators, formatters, JSON models, utility classes, and state containers
  • Widget test generation with proper test harnesses (MaterialApp, ProviderScope, BlocProvider, etc.)
  • Conservative test plan with confidence scores and skip reasons
  • Safe test writer that never modifies lib/ or overwrites handwritten tests
  • Generated-test ownership marker for safe refresh and repair
  • flutter test execution with machine-readable (JSON events) and human-readable output parsing
  • Deterministic test repair for common failures (missing imports, harness wrappers, finder issues)
  • Sanitized report generation (Markdown and JSON) with credential redaction
  • Optional AI provider interface with disabled-by-default implementation
  • OpenAI-compatible provider stub (opt-in, disabled by default)
  • Comprehensive test suite with fixture projects for each supported state management approach
  • Support for Windows, macOS, and Linux
1
likes
0
points
598
downloads

Documentation

Documentation

Publisher

unverified uploader

Weekly Downloads

A local-first CLI that analyzes Flutter apps and generates conservative, runnable tests without an API key.

Repository (GitHub)
View/report issues

Topics

#flutter #testing #cli #code-generation #automation

License

unknown (license)

Dependencies

analyzer, args, mason_logger, path, yaml

More

Packages that depend on fluttertest_ai