Preloader
Meet Meta’s JiTTests: LLM-Generated Tests Designed to Fail Before Risky Code Lands
Getting your Trinity Audio player ready...

Meta has moved Catching Just-in-Time Tests (JiTTests) from research prototype into its production infrastructure. Meta JiTTests is an LLM-based system that writes executable tests designed to fail on a risky code change. A failing test is concrete evidence that a diff changed behavior. Meta team reports that JiTTests caught 74 privacy SEVs at the diff stage in the first half of 2026. The method is described in the FSE 2026 research paper ‘Just-in-Time Catching Test Generation at Meta‘.

Catching JiTTests are LLM-generated tests that should fail when a diff introduces a bug. Traditional hardening tests pass when written and guard against future regressions. Catching tests target the change under review, before it lands. Meta formalized the details in its 2025 paper ‘Harden and Catch’.

Most AI bug tools act like faster human reviewers. They read the diff and leave comments. JiTTests instead execute code and show a concrete behavioral difference. Meta team concedes this takes more computational steps. It argues the approach catches bug classes that LLM or agent review can miss.

The dodgy diff workflow assumes every diff is buggy. It treats the diff as a mutant of its parent and generates tests that tell them apart.

Source: MarkTechPost — Read the full article on the original site ↗

Get the best of this topic in your inbox

Join the newsletter. A short, useful digest, no spam.