pact_dart 0.7.0 copy "pact_dart: ^0.7.0" to clipboard
pact_dart: ^0.7.0 copied to clipboard

Dart DSL for Pact, the de-facto API contract testing tool.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate pact_dart

Use it

The package has the following executables:

$ install

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add pact_dart

With Flutter:

 $ flutter pub add pact_dart

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

dependencies:
  pact_dart: ^0.7.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:pact_dart/pact_dart.dart';
3
likes
115
points
377
downloads

Publisher

unverified uploader

Weekly Downloads

Dart DSL for Pact, the de-facto API contract testing tool.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

ffi, http, logging, path

More

Packages that depend on pact_dart