The 6 levels of autonomous unit-testing explained
Blog post from Qodo
Since 2021, the rise of AI-generated code, exemplified by tools like Github Copilot, has led to a growing interest in autonomous code integrity (ACI), which aims to automate the generation of test code. The ACI model, inspired by autonomous vehicle development, is structured around six levels of automation, from manual unit-testing (Level 0) to full automation (Level 5), with each level reflecting increased capability and reduced human intervention. The four pillars of ACI—code integrity, code context, code complexity, and strategy—parallel those in autonomous driving, focusing on generating reliable tests, understanding code context, supporting diverse scenarios, and optimizing testing strategies. Despite early advancements, the technology is still in its infancy, and widespread adoption will depend on its ability to improve code integrity and enhance developer satisfaction by allowing them to concentrate on more creative tasks. The industry is currently transitioning from Level 0 to Level 1, indicating a long journey ahead, but the potential for AI in coding and testing remains vast and promising.