Testing Setup for REST API
Learn how to create a setup for testing the REST API Application.
We'll cover the following...
Setup for testing
The REST API application is implemented with persistent storage using MySQL Database. Let’s test it to ensure that the application can be used correctly and effectively.
Before testing the application, the following libraries are installed:
-
apitest: Used to create a test case for the API application.
-
Faker: Used to create fake data. You can install the libraries using the following commands on a local machine. However, they have already been set up for you on the Educative platform. ...
go get -u github.com/steinfletcher/apitest
go get -u