automation_keys_gen 0.1.5 copy "automation_keys_gen: ^0.1.5" to clipboard
automation_keys_gen: ^0.1.5 copied to clipboard

Enforces a consistent automation key contract for Flutter UI tests, with CLI validation and generated Markdown documentation.

0.1.5 #

  • Docs + CLI: improved README to include copy/pastable full commands (in addition to Makefile shortcuts).

0.1.4 #

  • Fixed: automation_keys_gen generate no longer silently omits pages/widgets from docs when files are present under lib/.
    • Scanner now records excluded/unreadable/problematic files and generate includes a "Skipped / Not Fully Analyzed Files" section in automation_keys.gen.md.
    • Added --verbose (-v) flag to print scan notes (skipped files + reasons) to the console.
  • Docs: README now includes copy/pastable full CLI commands (in addition to Makefile shortcuts).

0.1.3 #

  • Scanner now scans only the current project's lib/ directory (recursive).
    • Ensures nested folders under lib/** are included.
    • Avoids scanning unrelated folders (e.g., nested packages/monorepos).
  • Pubspec configuration namespace is now automation_keys_gen: (preferred).
    • Backwards compatible: automation_keys: is still supported for existing apps.
  • Reports now use normalized (POSIX-style) relative paths for stable output across Windows/macOS/Linux.
  • Added tests covering recursive scanning under lib/.

0.1.2 #

  • (Skipped) Version reserved.

0.1.1 #

  • Updated dependency constraints to support analyzer >=8.2.0 <10.0.0 (compatibility with modern builders like go_router_builder).
  • Updated analyzer AST API usage to remove deprecated members.

0.1.0 #

  • Enforced a single, consistent key system via AutomationKeyHelper.
  • Validation rules:
    • blocks direct Key(...) / ValueKey(...) usage
    • validates snake_case naming
    • requires descriptions via @AutomationKeyDescription(...) (declarations) or widget-level doc directive /// @AutomationKeyDescription: ...
  • CLI:
    • validate
    • generate (outputs automation_keys.gen.md and automation_keys_errors.gen.md on failure)

0.0.1 #

  • Initial release.
0
likes
160
points
246
downloads

Publisher

unverified uploader

Weekly Downloads

Enforces a consistent automation key contract for Flutter UI tests, with CLI validation and generated Markdown documentation.

Repository (GitHub)
View/report issues
Contributing

Topics

#flutter #testing #automation #key

Documentation

API reference

License

MIT (license)

Dependencies

analyzer, args, flutter, path, yaml

More

Packages that depend on automation_keys_gen