Tests
Tests for the code that needs them
Codend covers the paths your suite skips, starting with the riskiest code, and keeps the suite green.

billing/refund.tsNo testsauth/session.tsNo testsapi/orders.ts2 testslib/money.ts4 tests
How it helps
Coverage without the chore
01
It starts where the risk is
It looks first for untested code that handles money, sign-in and data.
02
Tests that really pass
Every new test runs in the sandbox before it reaches you.
03
It keeps the suite green
A nightly run executes the suite and proposes a fix when something breaks.
Every night
A suite that stays green
Schedule a nightly run and Codend keeps the suite healthy while you sleep.
- Runs the whole suite on a schedule
- Looks into every failure it finds
- Proposes a fix in a pull request

- Schedule
- Every day · 02:00
- Prompt
- Run the end-to-end suite. If anything fails, find the cause and propose a fix in a pull request.
- Tools
GitHub
Recent runs
- Oct 28All 212 tests passed
- Oct 27Found a failing test and opened a fix in #61
- Oct 26All 212 tests passed
What it writes
The tests your code is missing
Unit tests
Small, fast checks for the functions that hold your logic.
Integration tests
Routes, queries and services tested together, the way they run.
End-to-end tests
Real flows in a browser: sign-up, checkout, settings.
Regression tests
A test for every bug fixed, so it can’t quietly come back.
Try it