TY - GEN
T1 - Insights from the Field
T2 - 29th Conference Innovation and Technology in Computer Science Education, ITiCSE 2024
AU - Peruma, Anthony
AU - Alomar, Eman Abdullah
AU - Aljedaani, Wajdi
AU - Newman, Christian D.
AU - Mkaouer, Mohamed Wiem
N1 - Publisher Copyright:
© 2024 ACM.
PY - 2024/7/3
Y1 - 2024/7/3
N2 - Educating students about software testing practices is integral to the curricula of many computer science-related courses and typically involves students writing unit tests. Similar to production/source code, students might inadvertently deviate from established unit testing best practices, and introduce problematic code, referred to as test smells, into their test suites. Given the extensive catalog of test smells, it becomes challenging for students to identify test smells in their code, especially for those who lack experience with testing practices. In this experience report, we aim to increase students' awareness of bad unit testing practices, and detail the outcomes of having 184 students from three higher educational institutes utilize an IDE plugin to automatically detect test smells in their code. Our findings show that while students report on the plugin's usefulness in learning about and detecting test smells, they also identify specific test smells that they consider harmless. We anticipate that our findings will support academia in refining course curricula on unit testing and enabling educators to support students with code review strategies of test code.
AB - Educating students about software testing practices is integral to the curricula of many computer science-related courses and typically involves students writing unit tests. Similar to production/source code, students might inadvertently deviate from established unit testing best practices, and introduce problematic code, referred to as test smells, into their test suites. Given the extensive catalog of test smells, it becomes challenging for students to identify test smells in their code, especially for those who lack experience with testing practices. In this experience report, we aim to increase students' awareness of bad unit testing practices, and detail the outcomes of having 184 students from three higher educational institutes utilize an IDE plugin to automatically detect test smells in their code. Our findings show that while students report on the plugin's usefulness in learning about and detecting test smells, they also identify specific test smells that they consider harmless. We anticipate that our findings will support academia in refining course curricula on unit testing and enabling educators to support students with code review strategies of test code.
KW - code quality
KW - education
KW - open-source tool
KW - software engineering
KW - test smells
KW - tsdetect
KW - unit testing
UR - http://www.scopus.com/inward/record.url?scp=85198901037&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=85198901037&partnerID=8YFLogxK
U2 - 10.1145/3649217.3653643
DO - 10.1145/3649217.3653643
M3 - Conference contribution
AN - SCOPUS:85198901037
T3 - Annual Conference on Innovation and Technology in Computer Science Education, ITiCSE
SP - 101
EP - 107
BT - ITiCSE 2024 - Proceedings of the 2024 Conference Innovation and Technology in Computer Science Education
Y2 - 8 July 2024 through 10 July 2024
ER -