approvals_test 0.0.4-dev approvals_test: ^0.0.4-dev copied to clipboard
Approval Tests implementation in Dart. Inspired by ApprovalTests.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add approvals_test
With Flutter:
$ flutter pub add approvals_test
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
approvals_test: ^0.0.4-dev
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:approvals_test/approval_dart.dart';
import 'package:approvals_test/examples/gilded_rose.dart';
import 'package:approvals_test/examples/test.dart';