Skip to content

Commit fdf05c7

Browse files
Add caution to schema testing doc (apollographql#12596)
Co-authored-by: Maria Elisabeth Schreiber <[email protected]>
1 parent 4e2e3e8 commit fdf05c7

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.size-limits.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"dist/apollo-client.min.cjs": 42331,
2+
"dist/apollo-client.min.cjs": 42332,
33
"import { ApolloClient, InMemoryCache, HttpLink } from \"@apollo/client\" (production)": 34542
44
}

docs/source/development-testing/schema-driven-testing.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ description: Using createTestSchema and associated APIs
44
minVersion: 3.10.0
55
---
66

7+
<Caution>
8+
The testing utilities described in this document are deprecated and will be
9+
removed in [Apollo Client
10+
v4](https://community.apollographql.com/t/apollo-client-v4-alpha-releases-are-here/8719)
11+
in June 2025. Please use [GraphQL Testing
12+
Library](https://github.com/apollographql/graphql-testing-library) instead.
13+
</Caution>
14+
715
This article describes best practices for writing integration tests using testing utilities released as experimental in v3.10. These testing tools allow developers to execute queries against a schema configured with mock resolvers and default scalar values in order to test an entire Apollo Client application, including the [link chain](/react/api/link/introduction).
816

917
## Guiding principles

0 commit comments

Comments
 (0)