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

An LLM-based test generation tool that generates Dart test cases for uncovered code using Google Gemini to improve code coverage.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate test_gen_ai

Use it

The package has the following executables:

$ testgen

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add test_gen_ai

With Flutter:

 $ flutter pub add test_gen_ai

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

dependencies:
  test_gen_ai: ^0.1.0

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_ai/test_gen_ai.dart';
2
likes
160
points
101
downloads

Publisher

unverified uploader

Weekly Downloads

An LLM-based test generation tool that generates Dart test cases for uncovered code using Google Gemini to improve code coverage.

Repository (GitHub)
View/report issues

Topics

#testing #code-coverage #gemini #llm #automation

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

analyzer, args, collection, coverage, google_generative_ai, logging, package_config, path, stack_trace, yaml

More

Packages that depend on test_gen_ai