test_gen 0.1.1 copy "test_gen: ^0.1.1" to clipboard
test_gen: ^0.1.1 copied to clipboard

A CLI tool that generates Dart tests using Gemini AI

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add test_gen

With Flutter:

 $ flutter pub add test_gen

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

dependencies:
  test_gen: ^0.1.1

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:test_gen/sample/math.dart';
import 'package:test_gen/test_generator.dart';
1
likes
150
points
1
downloads

Publisher

unverified uploader

Weekly Downloads

A CLI tool that generates Dart tests using Gemini AI

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

args, google_generative_ai, path, yaml

More

Packages that depend on test_gen