This project demonstrates how to effectively test a Scala program using the ZIO testing framework. The focus of the testing is a RESTful API service designed to perform CRUD operations between Users and Posts. The project utilizes Scala, Slick, ZIO, ZIO-HTTP, ZIO-Test, H2, and Flyway-core.
The project dependencies are managed using built.sbt
. The configuration includes dependencies for ZIO, ZIO-HTTP,
ZIO-JSON, ZIO-Config, ZIO-Test, Slick, H2, Flyway-core, and ScalaTest.
To run the tests, execute the following command:
sbt test