Towards Automated Testing for Simple Programming Exercises
Abstract
Automated feedback and grading platforms can require substantial effort when encoding new programming exercises for first-year students. Such exercises are usually simple but require defining several test cases to ensure their functional correctness. This paper describes our initial effort to leverage automated test case generation for simple programming exercises. We rely on grey-box fuzzing and random combinations of method calls to test the students’ solutions and compare their execution to the results produced by a reference implementation. We implemented our approach in a prototype, called SimPyTest, openly available on GitHub. We discuss its usage and possible future extensions.
Type
Publication
Proceedings of the 4th International Workshop on Education through Advanced Software Engineering and Artificial Intelligence (EASEAI ‘22)

Authors
Xavier Devroey
(he/him)
Professor of Software Engineering and Testing
My name is Xavier Devroey. I am an assistant professor of software engineering at the University of Namur, Belgium 🇧🇪, where, together with Benoît Vanderose, we co-lead the SNAIL Team. 🐌 My research goal is to ease software testing by exploring new paths to achieve a high level of automation for test case design, generation, selection, and prioritization.