unit_test_generator 1.0.0 copy "unit_test_generator: ^1.0.0" to clipboard
unit_test_generator: ^1.0.0 copied to clipboard

Auto-generate AAA-structured unit test boilerplate for Flutter repositories, data sources, and use cases.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate unit_test_generator

Use it

The package has the following executables:

$ unit_test_generator

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add unit_test_generator

With Flutter:

 $ flutter pub add unit_test_generator

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

dependencies:
  unit_test_generator: ^1.0.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:unit_test_generator/unit_test_generator.dart';
7
likes
140
points
9
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Auto-generate AAA-structured unit test boilerplate for Flutter repositories, data sources, and use cases.

Homepage

License

MIT (license)

Dependencies

path

More

Packages that depend on unit_test_generator