zio service

How to Test Effects in ZIO | An Introduction to ZIO Test

Reading Time: 4 minutes In this blog, we’ll understand how to test ZIO effects using the ZIO Test library. Also, we’ll learn about some of the common assertions and a nice feature of ZIO Test which is test aspects. What is ZIO Test? ZIO Test is a testing library that makes it easy to test effectual programs. It treats effects as first class values and leverages the full power Continue Reading

What are Zio Effect Constructors?

Reading Time: 3 minutes In this blog post, we will discuss about ZIO effect constructors and how we can use them. Then we’ll take a look at Effect constructors for pure computations and side-effecting computations. Zio Effect Constructors A functional effect is a template for a concurrent workflow. The template which is mostly descriptive in nature, used to test for any side effects. Such as database interaction, logging, data Continue Reading

Want to learn about Standard ZIO Services?

Reading Time: 3 minutes In this blog, we’ll talk about Standard ZIO Services and why it’s useful for us as programmers and how we can use them.Services provide well-defined interfaces that can be implemented differently in testing environments and production environments. Build-in services When we use the services we don’t need to provide their corresponding environment explicitly. ZIO provides built-in live version of ZIO services to our effects, so Continue Reading