g_tester 1.0.2 copy "g_tester: ^1.0.2" to clipboard
g_tester: ^1.0.2 copied to clipboard

Auto-generate Dart/Flutter unit test files from lib/ structure. Supports both basic test skeletons and AI-powered test generation using Gemini for business logic, services, and utilities.

1.0.2 #

  • Added AI model selection support: g_tester --ai "MODEL_NAME:API_KEY"
  • Added model checking functionality: g_tester --check "API_KEY"
  • Changed focus from widget testing to unit testing
  • Replaced --widget/-w flag with --unit/-u flag
  • Updated analyzer to identify unit testing patterns in business logic
  • Updated writer to generate unit tests using test package instead of flutter_test
  • Added support for multiple directory types: /domain/, /data/, /core/, /utils/, /presentation/
  • Added mockito dependency for better unit testing support
  • Enhanced class analysis for async methods, streams, and exception handling

1.0.1 #

  • Added version flag support (--version or -v)
  • Added help flag support (--help or -h)
  • Enhanced command-line interface
  • Improved code reliability
  • Added comprehensive unit tests

1.0.0 #

  • Initial version
  • Basic widget test generation
  • AI-powered test generation support
  • Presentation folder detection
1
likes
120
points
25
downloads

Publisher

verified publisherkaungmratthu.info

Weekly Downloads

Auto-generate Dart/Flutter unit test files from lib/ structure. Supports both basic test skeletons and AI-powered test generation using Gemini for business logic, services, and utilities.

Documentation

API reference

License

MIT (license)

Dependencies

analyzer, args, google_generative_ai, http, path

More

Packages that depend on g_tester