Facebook deployed Sapienz, an AI-powered automated testing tool, to autonomously generate, execute, and report tens of thousands of test cases daily for its Android app. Sapienz explores app behaviors using search-based software engineering, identifies bugs including edge cases missed by manual testing, and integrates with continuous deployment pipelines for rapid bug detection and fixes.
Manual test design was time-consuming, limited in coverage, and unable to keep pace with rapid development cycles
Sapienz uses multi-objective search-based software engineering (SBSE) to automatically design system-level test cases, run them on hundreds to thousands of emulators, and report results directly to developers via continuous integration tools