mlsanityData to 26 Nov 2026

Can AI Guide Testing Without Generating Tests? A Comparative Study of AI-Assisted Unit Testing

arXiv 2610.36185 ↗Submitted 26 Oct 2026cs.SE cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Recent advances in generative AI have enabled assistants to generate increasingly sophisticated executable unit tests. However, novices may accept these outputs without independently identifying what to test, evaluating test-suite completeness, or verifying correctness, potentially limiting opportunities to develop essential testing skills. Although prior work has explored AI-assisted test generation and feedback-oriented programming tutors, little is known about whether AI can support novices' testing practices without generating tests for them. To investigate this, we introduce TestCompass, a generative AI tutor that provides targeted feedback on weaknesses in students' test suites without generating executable tests. In a classroom study with 18 students, we compared TestCompass with a general AI assistant across two Java unit-testing tasks, examining students' testing behaviors, test-suite quality, and subjective experiences. We found that participants using the general-purpose AI assistant produced more tests, whereas TestCompass participants spent more time developing and verifying tests themselves. However, most test-suite quality measures were comparable between conditions, and TestCompass participants achieved similar requirement coverage with significantly fewer test methods (p=0.012) in one task. Neither group reported short-term improvements in perceived testing knowledge or confidence. These findings suggest that feedback-oriented AI can support meaningful testing outcomes while preserving opportunities for hands-on testing practice, offering a complementary approach to AI-assisted testing education.

Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 20 of its 40 references that are in the map. Submitted 26 Oct 2026.

Builds on

20 of 40 references.

References · 20

  1. 2023ChatUniTest: A Framework for LLM-Based Test Generationcited by 100
  2. 2024CodeAid: Evaluating a Classroom Deployment of an LLM-based Programming Assistant that Balances Student and Educator Needscited by 89
  3. 2023CodeHelp: Using Large Language Models with Guardrails for Scalable Support in Programming Classescited by 74
  4. 2023"It's Weird That it Knows What I Want": Usability and Interactions with Copilot for Novice Programmerscited by 65
  5. 2024The Widening Gap: The Benefits and Harms of Generative AI for Novice Programmerscited by 52
  6. 2023ChatGPT and Software Testing Education: Promises & Perilscited by 43
  7. 2024On the Evaluation of Large Language Models in Unit Test Generationcited by 36
  8. 2023Prompt Problems: A New Programming Exercise for the Generative AI Eracited by 33
  9. 2026Programming by Chat: A Large-Scale Behavioral Analysis of 11,579 Real-World AI-Assisted IDE Sessionscited by 17
  10. 2024Iris: An AI-Driven Virtual Tutor For Computer Science Educationcited by 10
  11. 2025Test Wars: A Comparative Study of SBST, Symbolic Execution, and LLM-Based Approaches to Unit Test Generationcited by 9
  12. 2025"My productivity is boosted, but ..." Demystifying Users' Perception on AI Coding Assistantscited by 5
8 more
  1. 2020A Comparison of Inquiry-Based Conceptual Feedback vs. Traditional Detailed Feedback Mechanisms in Software Testing Education: An Empirical Investigationcited by 4
  2. 2025DPO-F+: Aligning Code Repair Feedback with Developers' Preferencescited by 4
  3. 2025How Students Use Generative AI for Software Testing: An Observational Studycited by 3
  4. 2026How well LLM-based test generation techniques perform with newer LLM versions?cited by 3
  5. 2026How Do Practitioners Build SE Agents? Insights from a Mixed-Methods Studycited by 3
  6. 2021How do students test software units?cited by 1
  7. 2025Enhancing Software Testing Education: Understanding Where Students Strugglecited by 1
  8. 2026Large Language Models for Software Testing Education: an Experience Reportcited by 1

Built on by

Not cited yet.