From 0% to 75% test coverage without slowing the team down
How a four-person frontend team adopted Jest and React Testing Library, and why our deploys dropped from 25 minutes to under 6.
Every team says it will write tests "after this release". On Cravta we had 0% frontend coverage and deployments that took 25 minutes, so every release was slow and scary.
Start with standards, not mandates
Instead of a coverage target on day one, we agreed on a short testing standard:
- Test behaviour, not implementation: React Testing Library queries by role and label, the way users interact.
- Every bug fix ships with a test that would have caught it.
- New shared components require tests before review.
Make the right thing the fast thing
Tests only stick if they're quick. We parallelised Jest, cached dependencies in GitHub Actions, and moved builds into Docker layers that rarely change.
Deploy time fell from 25 minutes to under 6, so engineers got feedback while they were still in context.
Review culture
As team lead I made tests part of code review. Not "where are the tests?" but "what would break if this changed?" That framing turned testing into a design conversation.
Results
- 0% → 75% coverage within months
- 25 → under 6 minute deployments
- Fewer regressions and calmer releases
Want the same safety net for your codebase? Let's talk.