How to Write Integration Tests for Kafka in NodeJS

How to write an integration test for kafka in NodeJS

Writing integration tests is usually not such a fun task. You need to replicate a real environment and test the connections between the different parts of the system. You cannot rely on mocking as you would in a unit test since you need to simulate the actual environment. In this tutorial, I’ll show you how […]

How To Write Integration Tests Easily Using Trace-Based Testing

OpenTelemetry, Malabi, MongoDB, Jest, HTTP in the lab

This article is part of the Aspecto Hello World series, where we tackle microservices-related topics for you. Our team searches the web for common issues, then we solve them ourselves and bring you complete how-to guides. Aspecto is an OpenTelemetry-based distributed tracing platform for developers and teams of distributed applications. Hands-on: What to expect Introduction The motivation […]

Trace-Based Testing with OpenTelemetry: Meet Open Source Malabi

A quick code example for the assertion using Malabi

Originally published on the CNCF blog. Written by Yuri Shkuro, creator and maintainer of Jaeger, and Michael Haberman, Co-Founder & CTO of Aspecto. If you deal with distributed applications at scale, you probably use tracing. And if you use tracing data, you already realize its crucial role in understanding your system and the relationships between system components, […]