Further testing types

Further testing types#

There are a few types of testing we didn't have time to go over in detail in this chapter, specifically end-to-end, property-based and fuzz testing. These types of tests are great for making sure the overall stability and sometimes security of the application remain healthy.

For this application, an end-to-end test would have looked very similar to our integration test. The main difference would be that we would start up the server first, and instead of using the Get, Set and Delete methods, we would call their endpoints via http.

 

This page is a preview of Reliable Webservers with Go

No discussions yet