Integration Testing

Modern applications are normally distributed across collaborating nodes, each of which has to fulfill t's role within the overall architecture. In order to test such an application automatically, we will need mechanisms to spin up a test environment on the fly and execute an arbitrary test suite against such an environment.

This article defines the requirements for a test framework geared towards integration testing so that existing test frameworks can be evaluated against those requirements or a new library can be designed to fulfill them if no existing library can be found.

Keep alive for JMS connections

This article concludes the mini series exploring the ZIO Stream API and shows how a simple keep-alive mechanism can be added to a JMS based stream. This will check the health of the underlying JMS connection and issue a connection restart if required.

Recovery for (JMS) Streams

Today we are going to explore the ZIO streams API and see how we can create a stream that will will enter a recovery phase in certain error scenarios. We will explore how we can deal with exceptions on the connection level while keeping the stream processing code untouched.