Overview
A utility package for Ferry, a GraphQL client for Dart and Flutter, providing example GraphQL operations used in testing. It supports integration with Ferry's test suite by offering predefined queries and mutations to validate GraphQL interactions during development. Designed for use in automated tests, it ensures consistent and reliable testing of GraphQL endpoints across multiple platforms including Android, iOS, Web, macOS, Windows, and Linux. The package is part of the broader gql-dart ecosystem and complements Ferry’s type-safe GraphQL handling.
Use cases
- Testing GraphQL queries and mutations
- Validating Ferry client behavior
- Ensuring schema compliance in tests
- Supporting CI/CD pipelines
- Simulating API responses
- Debugging GraphQL integrations
Key features
- Predefined test GraphQL operations
- Integration with Ferry testing framework
- Cross-platform compatibility
- Type-safe operation definitions
- Minimal setup required
- Part of the gql-dart ecosystem
Suitable for
- Flutter developers using Ferry
- Test automation engineers
- GraphQL API testers
- CI/CD pipeline implementers
- Dart projects with GraphQL clients
Considerations
- Requires Ferry client setup
- Not for production use
- Dependent on gql-dart ecosystem
- Limited to test scenarios
- Needs proper schema definition
- Best used alongside mock servers