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 Automated Compliance Hardening (ACH) tool, which uses mutation-guided, LLM-based test generation. ACH hardens platforms against regressions by generating undetected faults (mutants) in source code specific to an area of concern and using those same mutants to generate tests. ACH automatically generates unit tests that target a particular kind of fault, described in plain text, and provides verifiable assurances that its tests catch the described faults. This approach is a departure from traditional methods that focus on increasing code coverage, instead targeting specific faults. ACH has been applied to platforms like Facebook Feed, Instagram, Messenger, and WhatsApp.
All Meta trails