Using Kiro Subagents to Improve Test Coverage

Every developer knows the sinking feeling. A "simple" change breaks production. You realize there were no tests catching the edge case. Poor test coverage means longer debugging sessions, more production incidents, and that nagging anxiety every time you deploy. But here's the catch-22: going back to add tests to existing code feels like an overwhelming … Continue reading Using Kiro Subagents to Improve Test Coverage

Kiro for Test-Driven Development (TDD)

This post explores the compatibility of Test-Driven Development (TDD) with AI coding assistants, specifically using Kiro, an AI-powered IDE. The author conducts an experiment involving the Number Parser Kata to demonstrate how Kiro effectively follows TDD principles, emphasizing that TDD remains essential for ensuring that AI-generated code solves the intended problems accurately.

Easily create builders for your tests using Intellij IDEA

The builder pattern is one of the more useful patterns out there when creation unit tests. Instead of having a huge initialization such as: @Test void validateUser_userNameIsEmpty_returnFalse(){ var user = new User(); user.setId("id-1"); user.setName(null); user.setPhoneNumber("555-1234"); // additional user initialization boolean result = userService.validate(user); assertFalse(result); } You can instead create a simple user builder object for … Continue reading Easily create builders for your tests using Intellij IDEA