Description
Course info
Level
Intermediate
Updated
Sep 4, 2020
Duration
1h 55m
Description

The Apollo GraphQL library is one of the most popular tools around for building a GraphQL-based application. Just like any other application, Apollo applications need to be tested. Building a full-stack application means you need to know how to test the React side built with Apollo Client as well as the server-side built with Apollo Server. This course, Testing Apollo, will walk you through testing both the client and the server. First, you will learn about testing queries and mutations in your react application. Next, you will explore unit testing your resolvers as well as integration and snapshot tests. Finally, you will discover how to use introspection to get the schema definition of a GraphQL database. By the end of this course, you will know how to properly test your Apollo client and server.

About the author
About the author

Software engineer in Chicago with 10+ years of experience working Javascript applications on both the client side and the server side.

More from the author
Javascript Generators and Iterators
Intermediate
1h 25m
Dec 31, 2019
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hi, everyone. My name is Marques Woodson, and welcome to my course, Testing Apollo. I am a staff software engineer at Project44. The GraphQL technology has been taking off over the past couple of years, and the Apollo framework is one of the most popular tools to use with GraphQL. This course is designed to teach you how to test your full stack Apollo application. Some of the major topics that we will cover include testing queries and mutations in your React application, including how to mock calls with MOTS provider, unit testing your resolvers on the server side with Apollo Server, integration and snapshot tests with Apollo Server, and using introspection to get the schema definition of a GraphQL database. By the end of this course, you'll know how to properly test your Apollo client and your Apollo Server application. Before beginning this course, you should be familiar with the basics of Apollo and GraphQL. I hope you'll join me on this journey to learn how to test an Apollo application with the Testing Apollo course at Pluralsight.