Identifying Test Refactoring Candidates with Assertion Fingerprints

Zheng Fang, Patrick Lam · 2015

Test cases constitute around 30% of the codebase of a number of large software systems. Poor design of test suites hinders test comprehension and maintenance. Developers often copy-paste existing tests and reproduce both boilerplate and essential environment setup code as well as assertions. Test case refactoring would be valuable for developers aiming to control technical debt arising due to copy-pasted test cases.

Read the paper · More papers on PaperTik