Testing React Apollo Client

Published: 15 April 2021
on channel: Apollo GraphQL
7,634
114

Learn GraphQL with Apollo Odyssey, our hands-on training and tutorial course platform - https://odyssey.apollographql.com/

Learn from our Apollo Docs - https://www.apollographql.com/docs/

What’s the easiest way to navigate your schema and query your graph? Try Apollo Studio at https://www.apollographql.com/studio/...

Video Details: "Quality means doing it right when no one is looking". This is a quote by Henry Ford which is applicable to our software development world as well. Writing good tests results in creating better software products, with higher quality which are prone to fewer errors.

In this talk, Adhithi will walk you through testing your GraphQL operations with Apollo Client. We will write tests for our React client application that uses Apollo GraphQL. By the end of this talk, you will be familiar with best practices for testing React components that use Apollo Client for its GraphQL operations.

Key takeaways:
Testing React components
Testing Queries and Mutations
Testing error and loading states

Resources:
Learn more about Summit - https://summit.graphql.com/
Explore the GraphQL FAQs - https://www.apollographql.com/docs/re...
Checkout the Apollo docs - https://www.apollographql.com/docs/


On this page of the site you can watch the video online Testing React Apollo Client with a duration of hours minute second in good quality, which was uploaded by the user Apollo GraphQL 15 April 2021, share the link with friends and acquaintances, this video has already been watched 7,634 times on youtube and it was liked by 114 viewers. Enjoy your viewing!