Getting Scala 2.12.10 (for sbt)...
- Run
sbt new playframework/play-scala-seed.g8
- Change into the top level project directory.
- Enter
sbt run
to download dependencies and start the system. - In a browser enter
http://localhost:9000/health
to healthcheck.
Run docker-compose up
RUN docker-compose exec job_worker sbt test
https://blog.karumi.com/testing-with-h2-in-play-framework/
https://www.playframework.com/documentation/2.8.x/ScalaTestingYourApplication
https://github.com/underscoreio/essential-slick-code
https://github.com/bizreach/slick-reference/blob/master/3.x.md
Physically a Repository needs integrated tests