Until now, we have learned how to integrate our Lift application with the database using Record and Squeryl. Now it is time to learn, similar to what we did in Chapter 5, Working with Databases, about how to test an application that uses these two components: Record and Squeryl.
We will modify the project that we have worked on in the previous recipe. Again, you can modify it directly or create a new one by duplicating it.
To modify an old or a new project, perform the following steps:
h2as a new dependency into the
Seq libraryDependenciessection in the
"com.h2database" % "h2" % "1.3.167" % "test"
sbtto not execute tests ...