Carrying Out Tests
Learn how to execute tests for the pure service.
We'll cover the following
Until this point, we have only looked at the code and have not executed the tests themselves. Let’s execute the tests now.
To execute the tests, click on the Run
button and wait for the environment to set up. We pull a docker image with the pre-configured environment to save you the hassle of setting up the environment on your own.
Once set up, you will need to perform the following two steps.
Step 1: Set up the database
First, start the PostgreSQL
database within the container. We can do that by using the following command:
Get hands-on with 1200+ tech skills courses.