Instructor-Written Hints as Automated Test Suite Quality Feedback

被引:0
作者
Perretta, James [1 ]
DeOrio, Andrew [2 ]
Guha, Arjun [1 ]
Bell, Jonathan [1 ]
机构
[1] Northeastern Univ, Boston, MA 02115 USA
[2] Univ Michigan, Ann Arbor, MI USA
来源
PROCEEDINGS OF THE 56TH ACM TECHNICAL SYMPOSIUM ON COMPUTER SCIENCE EDUCATION, SIGCSE TS 2025, VOL 2 | 2025年
关键词
mutation testing; software testing education; automated feedback;
D O I
暂无
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Mutation testing measures a test suite's ability to detect bugs by inserting bugs into the code and seeing if the tests behave differently. Mutation testing has recently seen increased adoption in industrial and open-source software but sees limited use in education. Some instructors use manually-constructed mutants to evaluate student tests and provide general automated feedback. Additional tutoring requires more intensive instructor interaction such as in office hours, which requires substantial resources at scale. Prior work suggests that students benefit from frequent, actionable feedback, and our work focuses on the challenge of leveraging automation to give students high-quality feedback when they need it. We deployed an automated hint system that provides instructor-written hints related to mutants that student-written tests do not detect. We evaluated our hint system in a controlled experiment across four assignments in two introductory programming courses, comprising 4,122 students. We also analyzed student test suite revisions and conducted a mixed-methods analysis of student hint ratings and comments collected by the automated hint system. We observed a small, statistically significant increase in the mean number of mutants detected by students who received hints (experiment group) compared to those who did not (control group). In 25% of instances where students received a hint, they detected the mutant in a single revision to their test suite. We conclude with recommendations based on our analysis as a starting point for instructors who wish to deploy this type of automated feedback.
引用
收藏
页数:7
相关论文
共 26 条
[11]   Teaching the Art of Functional Programming using Automated Grading (Experience Report) [J].
Hameer, Aliya ;
Pientka, Brigitte .
PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2019, 3 (ICFP)
[12]   Coverage Is Not Strongly Correlated with Test Suite Effectiveness [J].
Inozemtseva, Laura ;
Holmes, Reid .
36TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2014), 2014, :435-445
[13]  
Jones Edward L., 2001, Journal of Computing Sciences in Colleges, V16, P92
[14]   Are Mutants a Valid Substitute for Real Faults in Software Testing? [J].
Just, Rene ;
Jalali, Darioush ;
Inozemtseva, Laura ;
Ernst, Michael D. ;
Holmes, Reid ;
Fraser, Gordon .
22ND ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING (FSE 2014), 2014, :654-665
[15]   Fast and accurate incremental feedback for students' software tests using selective mutation analysis [J].
Kazerouni, Ayaan M. ;
Davis, James C. ;
Basak, Arinjoy ;
Shaffer, Clifford A. ;
Servant, Francisco ;
Edwards, Stephen H. .
JOURNAL OF SYSTEMS AND SOFTWARE, 2021, 175
[16]   The impact of Software Testing education on code reliability: An empirical assessment [J].
Lazzarini Lemos, Otavio Augusto ;
Silveira, Fabio Fagundes ;
Ferrari, Fabiano Cutigi ;
Garcia, Alessandro .
JOURNAL OF SYSTEMS AND SOFTWARE, 2018, 137 :497-511
[17]   Effectiveness of Real-time Feedback and Instructive Hints in Graduate CS Courses via Automated Grading System [J].
Lee, Haden Hooyeon .
PROCEEDINGS OF THE 52ND ACM TECHNICAL SYMPOSIUM ON COMPUTER SCIENCE EDUCATION, SIGCSE 2021, 2021, :101-107
[18]  
Messer Marcus, 2023, Automated Grading and Feedback Tools for Programming Education: A Systematic Review, DOI [10.1145/3636515, DOI 10.1145/3636515]
[19]   A role for technology in enhancing students' engagement with feedback [J].
Parkin, Helen J. ;
Hepplestone, Stuart ;
Holden, Graham ;
Irwin, Brian ;
Thorpe, Louise .
ASSESSMENT & EVALUATION IN HIGHER EDUCATION, 2012, 37 (08) :963-973
[20]   Evaluating the impact of Software Testing Education through the Flipped Classroom Model in deriving Test Requirements [J].
Paschoal, Leo Natan ;
Oliveira, Myke M. ;
Melo, Silvana M. ;
Barbosa, Ellen F. ;
Souza, Simone R. S. .
34TH BRAZILIAN SYMPOSIUM ON SOFTWARE ENGINEERING, SBES 2020, 2020, :570-579