Skip to content

Code sample for the "Example of using ZIO Test" article on SysGears team blog.

Notifications You must be signed in to change notification settings

sysgears/zio-test-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zio-test-example

Overview

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.

Project Configuration

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.

Running Tests

To run the tests, execute the following command: sbt test

About

Code sample for the "Example of using ZIO Test" article on SysGears team blog.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Scala 100.0%