August 2022
Beginner to intermediate
424 pages
10h 19m
English
Programming at a coffee shop
This chapter covers
In a data-oriented system, our code deals mainly with data manipulation: most of our functions receive data and return data. As a consequence, it’s quite easy to write unit tests to check whether our code behaves as expected. A unit test is made of test cases that generate data input and compare the data output of the function with the expected data output. In this chapter, we write unit tests for the queries and mutations that we wrote in the previous chapters.
Read now
Unlock full access