AIBullisharXiv โ CS AI ยท 4h ago7/10
๐ง
AI-Assisted Unit Test Writing and Test-Driven Code Refactoring: A Case Study
Researchers demonstrated AI-assisted automated unit test generation and code refactoring in a case study, generating nearly 16,000 lines of reliable unit tests in hours instead of weeks. The approach achieved up to 78% branch coverage in critical modules and significantly reduced regression risk during large-scale refactoring of legacy codebases.