AI Is Testing AI-Generated Code: Should You Trust It?

Wait 5 sec.

There’s no denying it: More and more software development organizations are turning to AI to write code. More than 30% of Google’s code is written by AI; at Microsoft, the number is “as much as 30%.”While generative AI (GenAI) can write more code more quickly than human developers, increasing the sense of productivity, there’s a major problem: AI-written code is unpredictable, often inaccurate, obscure and requires significant debugging effort.According to Harness’ State of Software Delivery 2025 report, two-thirds of developers say they spend excessive time debugging and resolving security vulnerabilities in AI-generated code. As AI becomes the engine behind modern software delivery, ensuring the reliability and safety of AI-driven workflows is mission-critical.Could AI Be the Answer?As organizations try to solve these problems, many are exploring ways to use GenAI to test their code, both AI and non-AI workflows. It seems counterintuitive: Why would you use unpredictable technology to test unpredictable technology?Fortunately, this is not only possible, but companies like Harness are already successfully putting it into practice. And in an upcoming webinar, AI Testing AI: How to Build Unbreakable Validation for Unpredictable Systems, you’ll have the opportunity to see exactly how Harness is using AI-powered test generation, self-healing test suites, and intelligent test selection to validate AI workflows.During this free webinar on August 19, at 10:30 a.m. PT | 1:30 ET, Deba Chatterjee and Rohan Gupta of Harness will join The New Stack Host Chris Pirillo to pull back the curtain on how Harness uses advanced agentic AI-powered testing to rigorously validate its own AI workflows.They will not only demonstrate the power of AI in testing AI; they will also explore how to use agentic AI-powered testing to test non-AI workflows.Register for This Free Webinar Today!If you can’t join us live, register anyway and we’ll send you a recording following the webinar.What You’ll LearnBy attending this special online event, you’ll leave with best practices, real-world examples, and actionable tips including:Discovering how to leverage AI-powered test generation, self-healing test suites and intelligent test selection to achieve rapid, resilient and scalable validation of AI workflows.Learning how to leverage advanced techniques to comprehend, challenge and validate the intricate, dynamic behaviors of AI workflows, thereby ensuring trust and transparency in automated decision-making.Seeing how using AI to test AI has slashed test cycle times by up to 80%, reduced test maintenance by 70% and enabled continuous quality at the speed of innovation.You’ll also watch a live demonstration of Harness’s AI Test Automation in action as it validates AI and non-AI workflows, showcasing intent-based testing, smart selectors and automated adaptation to application changes. So bring your questions, engage with our guests and find out what you need to know about AI testing AI!Register for this live webinar today!The post AI Is Testing AI-Generated Code: Should You Trust It? appeared first on The New Stack.