Now that the application is configured correctly, the final task to configure for the release stage is to define acceptance tests that verify the application is working as expected. Acceptance tests are all about ensuring the release image you have built works in an environment that is as close to production as possible, within the constraints of a local Docker environment. At a minimum, if your application is a web application or API service, such as the todobackend application, you might just verify the application returns a valid HTTP response, or you might run through key features, such as creating an item, updating an item, and deleting an item.
For the todobackend application, we will create a few basic tests ...