Unit Test Smells and Accuracy of Software Engineering Student Test Suites
Kevin Buffardi, Juan Aguirre-Ayala · 2021
With an increasing emphasis on unit testing in computer science curricula, we examined students' work on testing assignments to investigate their adoption of test smells---practices that indicate potential problems in unit tests. We discovered three common causes of test smells in students' unit tests: multiple member function calls, multiple assertions, and conditional logic. We also explored how each might be associated with test inaccuracies.