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.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate g_tester

Use it

The package has the following executables:

$ g_tester

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add g_tester

With Flutter:

 $ flutter pub add g_tester

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  g_tester: ^1.0.2

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:g_tester/g_tester.dart';
1
likes
120
points
13
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