An exploration of using Claude Code to generate API tests for a Spring Boot banking application, starting from scratch with only a prompt. Claude produced 23 passing tests in minutes, achieving 95% line coverage and 91% mutation coverage as measured by PITest. However, analysis revealed gaps: several critical code paths were

12m read timeFrom ontestautomation.com
Post cover image
Table of contents
The starting pointA first look at the testsTesting the generated tests with mutation testingLooking at the surviving mutantsIdentifying dead weight in our test suiteConclusions
1 Comment

Sort: