Skip to main content

sling_gql_test 1.2.0 copy "sling_gql_test: ^1.2.0" to clipboard
sling_gql_test: ^1.2.0 copied to clipboard

Test helpers for sling_gql: an in-memory GraphQL server that answers the client's own documents from plain Dart data, and pumpUntilSettled for widget tests.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add sling_gql_test

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

dependencies:
  sling_gql_test: ^1.2.0

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:sling_gql_test/sling_gql_test.dart';
0
likes
160
points
546
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Test helpers for sling_gql: an in-memory GraphQL server that answers the client's own documents from plain Dart data, and pumpUntilSettled for widget tests.

Homepage
Repository (GitHub)
View/report issues

Topics

#graphql #testing #mock

License

MIT (license)

Dependencies

flutter, flutter_test, http, sling_gql

More

Packages that depend on sling_gql_test