Skip to content

Tag: Unit Test

The fundamental characteristic of unit tests is that they focus on verifying that each unit of code functions correctly in isolation, regardless of the rest of the system.

Fluent Interfaces in Java: How to Create Readable and Expressive APIs

Reading Time: 4 minutes

Fluent interfaces are a term coined by Martin Fowler and Eric Evans. It’s a design approach in software development that aims to create an object-oriented API. The goal is to make the API more readable by making method calls more expressive and easier to understand.

The Reliable Power of the FIRST Principle: A Comprehensive Guide

Reading Time: 2 minutes

Writing unit tests correctly is as important as coding features. To achieve this, certain principles help ensure that unit tests are easy to use and modify when adding new test cases. The FIRST principle, which stands for Fast, Independent, Repeatable, Self-validating, and Timely, is a guide for us in this endeavor