All posts

Case Study

•

7 min read

From 41% to 86% coverage: generating tests that catch real bugs

How the Quanta Cloud team used CodeCraft to backfill tests for a five-year-old codebase without slowing down feature work.

Written by

Noah Brooks

From 41% to 86% coverage: generating tests that catch real bugs

Quanta Cloud had a familiar problem: a critical billing service with thin test coverage and no one willing to touch it. Writing tests by hand kept losing to roadmap work.

Starting with the riskiest paths

The team pointed CodeCraft at the functions with the most production incidents first. For each one, it generated unit tests matched to their existing Vitest setup, including the edge cases that had caused past outages.

Reviewing tests like code

Every generated test arrived as a diff, so engineers reviewed intent rather than syntax. Tests that encoded wrong assumptions were caught in review and corrected in minutes.

Results after one month

Coverage on the billing service climbed from 41% to 86%, and two latent rounding bugs surfaced during the process — before a customer ever saw them.

C

START BUILDING TODAY

Your next feature is one prompt away.

Join 20,000+ developers shipping typed, tested code with CodeCraft. Set up in under two minutes.

✓

14-day free trial

✓

No credit card required

✓

Cancel anytime

C

START BUILDING TODAY

Your next feature is one prompt away.

Join 20,000+ developers shipping typed, tested code with CodeCraft. Set up in under two minutes.

✓

14-day free trial

✓

No credit card required

✓

Cancel anytime

C

START BUILDING TODAY

Your next feature is one prompt away.

Join 20,000+ developers shipping typed, tested code with CodeCraft. Set up in under two minutes.

✓

14-day free trial

✓

No credit card required

✓

Cancel anytime

C
CodeCraft

Built for developers who’d rather ship than type boilerplate.

CODECRAFT

© 2026 CodeCraft Technologies. All rights reserved.

hello@codecraft.dev

Create a free website with Framer, the website builder loved by startups, designers and agencies.