Below you will find pages that utilize the taxonomy term “Json”
Blogs
read more
Json Unit Testing
Many applications have APIs consuming and returning JSON. If you do not cover the expected inputs and output of the API you risk introducing unintentional changes. Luckily it is not hard to create these valuable test cases. If you have types that are used both as symmetrical inputs and outputs this test pattern will provide full coverage and give you utility methods for other tests as well.
For this example I’ll be using a type Task
having just a name
and a description
field, both String
s: