welltested 2.2.2 welltested: ^2.2.2 copied to clipboard
WelltestedAI is a Testing AI Pilot helping developers add and maintain tests as they code and deliver stable welltested apps to users.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate welltested
Use it
The package has the following executables:
$ welltested
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add welltested
With Flutter:
$ flutter pub add welltested
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
welltested: ^2.2.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:welltested/cli/integration_test_operation.dart';
import 'package:welltested/cli/unit_operation.dart';
import 'package:welltested/cli/widget_test_operations.dart';
import 'package:welltested/generators/integration_generator.dart';
import 'package:welltested/generators/integration_saver.dart';
import 'package:welltested/generators/unit_generator.dart';
import 'package:welltested/generators/unit_saver.dart';
import 'package:welltested/generators/widget_generator.dart';
import 'package:welltested/generators/widget_saver.dart';