SE Radio 633: Itamar Friedman on Automated Testing with Generative AI

Topics covered
Popular Clips
Questions from this episode
- Asked by 35 people
- Asked by 11 people
- Asked by 5 people
Episode Highlights
Flaky Tests
Flaky tests present a significant challenge in automated regression suites, often producing inconsistent results that undermine trust in the testing process. explains that flaky tests occur when a test yields different outcomes upon multiple executions, such as passing four times and failing once 1. He suggests that while large language models (LLMs) can be prompted to avoid generating flaky tests, developers still bear responsibility for minimizing flakiness by focusing on independent components and microservices 1.
Although at CodiumAI we are developing things like that, they're not as mature developers are being needed.
---
Additionally, notes that Cover-Agent validates test cases by checking if they compile and run, discarding those that don't, although future iterations may include mechanisms to fix these issues 2.
Data Complexity
The complexity of using the right data in tests is a crucial aspect of automated testing, especially when involving AI tools. emphasizes that developers must provide additional information from databases and specifications to effectively prompt AI tools like Cover-Agent 3. He describes the concept of "flow engineering," where AI systems follow a structured process to generate tests, enhancing the accuracy and reliability of the outputs 4.
Flow engineering is designing that flow.
---
In this approach, the AI parses coverage reports, infers which lines need coverage, and iteratively generates and validates tests to improve code coverage 5.
Related Episodes


SE Radio 603: Rishi Singh on Using GenAI for Test Code Generation
Answers 383 questions

SE-Radio Episode 283: Alexander Tarlinder on Developer Testing
Answers 383 questions

SE-Radio Episode 256: Jay Fields on Working Effectively with Unit Tests
Answers 383 questions

366: Test Automation
Answers 383 questions

SE-Radio Episode 324: Marc Hoffmann on Code Test Coverage Analysis and Tools
Answers 383 questions

SE Radio 626: Ipek Ozkaya on Gen AI for Software Architecture
Answers 383 questions

SE Radio 585: Adam Frank on Continuous Delivery vs Continuous Deployment
Answers 383 questions
SE Radio 632: Goran Petrovic on Mutation Testing at Google
Answers 383 questions

SE Radio 572: Gregory Kapfhammer on Flaky Tests
Answers 383 questions

SE Radio 625: Jonathan Schneider on Automated Refactoring with OpenRewrite
Answers 383 questions

SE-Radio Episode 357: Adam Barr on Code Quality
Answers 383 questions

SE Radio 648: Matthew Adams on AI Threat Modeling and Stride GPT
Answers 383 questions

Episode 521: Phillip Mayhew on Test Automation in Gaming
Answers 383 questions

SE Radio 647: Praveen Gujar on Gen AI for Digital Ad Tech Platforms
Answers 383 questions

SE-Radio Episode 295: Michael Feathers on Legacy Code
Answers 383 questions













