Blogs›Meta›Agentic Development and Just-in-Time Testing
Agentic Development and Just-in-Time Testing
Meta is exploring agentic development and introducing Just-in-Time Tests (JiTTests) as a novel approach to software testing. JiTTests leverage LLMs to automatically generate tests on-the-fly for specific code changes, aiming to catch bugs just before they enter production. This approach contrasts with traditional testing methods that rely on manually authored, maintained, and executed test suites. The JiTTest process involves inferring code change intent, creating mutants (code with deliberate f. This post details the development and deployment of the Automated Compliance Hardening (ACH) tool, a system for mutation-guided, LLM-based test generation. ACH hardens platforms against regressions by generating undetected faults (mutants) in source code that are specific to a given area of concern and using those same mutants to generate tests. It automates the process of searching for privacy-related faults and preventing them from entering systems, hardening code bases to reduce the risk of privacy regressions. ACH automatically generates unit tests that target a particular kind of fault, described in plain text, and keeps verifiable assurances that its tests do catch the kind of faults described. This approach is a departure from traditional techniques that focus on code coverage, instead targeting specific faults. ACH has been applied to platforms including Facebook Feed, Instagram, Messenger, and WhatsApp.