Summary
In this chapter, we have created an integration test for our database. We used that to test-drive the implementation of a database user, the database table, and the code needed to access our data. This code implemented the adapter for one of our ports in our hexagonal architecture. Along the way, we used some new tools. The DBRider database test framework simplified our test code. The JDBI database access library simplified our data access code.
In the next and final chapter, Chapter 15, Driving the Web Layer, we will add an HTTP interface to our application, turning it into a complete microservice. We will integrate all the components together, then play our first game of Wordz using the HTTP test tool Postman.