arXiv AI

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

The study introduces TestCompass, a generative AI tutor that offers targeted feedback on students’ test suites without generating executable tests. In a classroom experiment with 18 students, TestCompass users spent more time creating and verifying tests themselves, yet achieved comparable test‑suite quality and similar requirement coverage with fewer test methods than those using a general AI assistant. The results indicate that feedback‑oriented AI can support effective testing outcomes while encouraging hands‑on practice.

arXiv AI
Nov 14

Outcome Over Learning? Evidence from Student Use of AI Code Assistants for Unit Test Writing

The study examines how students use AI code assistants for writing unit tests, finding that most adopt a one‑shot strategy that asks the AI to produce a complete test from initial requirements. This approach efficiently yields a solution but diverts attention from learning how to write effective tests, as students rarely critique or refine the AI’s output. The authors suggest that training, accountability, and better task design could encourage a learning‑centric use of AI.

By Daniel Hinbest, Jeremy S. Bradbury, Michael A. Miljanovic
arXiv AI
4d ago

Generative AI in Software Testing: Practitioners' Perspectives on the Benefits, Challenges, Opportunities, and Risks

The study surveyed 64 software testing practitioners to assess their views on generative AI (GenAI) in testing. Results indicate that users generally see GenAI as helpful for reducing effort, generating tests, and debugging, while also expressing concerns about prompt dependence, trust, and incorrect outputs. Non‑users exhibit more uncertainty about technical challenges, and overall the findings suggest GenAI is an assistive tool that still requires human validation.

By Chamari Dasanayake, Rahul Mohanani, Vladimir Mandi\'c, Burak Turhan
arXiv AI
Aug 14

Assessment Design in the GenAI Era: The X1-X2-X3 Assessment Pattern for Testing Students' AI Literacy, Learning Outcomes, and Reflection

arXiv:2608. 12351v1 Announce Type: cross Abstract: Generative artificial intelligence (GenAI) has challenged the validity of unsupervised online assessment, especially in technical subjects where plausible answers can be produced with little effort.

By Riasat Islam (School of Electronic Engineering and Computer Science, Queen Mary University of London, London, United Kingdom), Thomas Roelleke (School of Electronic Engineering and Computer Science, Queen Mary University of London, London, United Kingdom)
arXiv Machine Learning
Oct 5

GTDD: Generative Test-Driven Development for AI Coding Agents with Adversarial Testing

The paper introduces Generative Test-Driven Development (GTDD), a method where a separate testing agent continuously generates new inputs after each coding agent’s implementation, guided by a human-specified behavioral contract and prior feedback. A trusted evaluator validates these inputs, provides reduced counterexamples, and stores them for regression testing, ensuring that development repeatedly confronts failures beyond the initial examples. Experimental results on a stateful key-value store show that policies regenerating tests during development achieve lower mean failure rates than a single-generation policy, while providing the tester with the candidate’s source code does not yield additional improvement.

By Masahiro Kato
arXiv AI
Jul 13

SCATE: Learning to Supervise Coding Agents for Cost-Effective Test Generation

arXiv:2607. 08983v1 Announce Type: cross Abstract: While autonomous coding agents have significantly advanced automated test generation, they remain fundamentally limited by lazy generation, a phenomenon where agents prematurely terminate tasks and systematically avoid complex programmatic logic, resulting in inadequate code coverage.

By Sijia Gu, Noor Nashid, Ali Mesbah
arXiv Machine Learning
Nov 2

CodeLift: Your Test Suite Is Secretly a Dense SWE Curriculum

CodeLift is a reinforcement learning approach that transforms a software engineering test suite into an adaptive curriculum by dynamically calibrating pass‑rate rewards. It groups tests that kill the same patches and those that pass the same patches, then prioritizes test groups that fewer patch groups pass, thereby reducing the influence of trivial tests. Experiments on SWE benchmarks demonstrate that CodeLift consistently improves pass@1/2/4/8 metrics compared to binary and pass‑rate baselines, providing denser and more stable learning signals.

By Junjielong Xu, Huachao Zhu, Alyssa Wu, Zhichao Hu, Pinjia He
arXiv AI
Aug 19

Effective Personalized AI Tutors via LLM-Guided Reinforcement Learning

The paper presents a tutoring platform that combines a generative AI chatbot with a reinforcement learning algorithm to adaptively sequence practice problems for students learning Python. In a five‑month field study across ten high schools, the adaptive sequencing improved unassisted final exam performance by 0.15 standard deviations, with mediation analysis indicating that higher engagement drove the gains. The study demonstrates that signals from student‑chatbot interactions can be leveraged to personalize and optimize learning at scale.

By Angel Tsai-Hsuan Chung, Botong Zhang, Ling-Chieh Kung, Hamsa Bastani, Osbert Bastani
arXiv AI
Sep 25

Guardrails or Roadblocks? Effects of Pedagogical Style and Context Awareness in AI Teaching Assistants for Programming

The study examined how different designs of AI teaching assistants (AI TAs) affect students in an introductory programming course. Four AI TAs were compared based on pedagogical style (Socratic vs. Direct instruction) and context awareness (no context vs. full context). Results showed that the Socratic AI TA with full context received the lowest favorability ratings, had the highest interaction stress, the most external LLM use, and the lowest comprehension outcomes, though differences were not statistically significant.

By Madeleine Eastwood, Harshith Narne, Joseph Hilby, Paul Denny, Ashish Aggarwal, Amanpreet Kapoor