DocumentCode :
555398
Title :
ReAssert: a tool for repairing broken unit tests
Author :
Daniel, Brett ; Dig, Danny ; Gvero, Tihomir ; Jagannath, Vilas ; Jiaa, Johnston ; Mitchell, Damion ; Nogiec, Jurand ; Tan, Shin Hwei ; Marinov, Darko
Author_Institution :
Univ. of Illinois at Urbana-Champaign, Urbana, IL, USA
fYear :
2011
fDate :
21-28 May 2011
Firstpage :
1010
Lastpage :
1012
Abstract :
Successful software systems continuously change their requirements and thus code. When this happens, some existing tests get broken because they no longer reflect the intended behavior, and thus they need to be updated. Repairing broken tests can be time-consuming and difficult. We present ReAssert, a tool that can automatically suggest repairs for broken unit tests. Examples include replacing literal values in tests, changing assertion methods, or replacing one assertion with several. Our experiments show that ReAssert can repair many common test failures and that its suggested repairs match developers´ expectations.
Keywords :
formal verification; program testing; software maintenance; software reliability; ReAssert; assertion methods; broken unit tests repair; common test failures; software systems requirements; Instruments; Libraries; Maintenance engineering; Open source software; Productivity; Software systems; Testing; reassert; test repair; testing tools; unit testing;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Engineering (ICSE), 2011 33rd International Conference on
Conference_Location :
Honolulu, HI
ISSN :
0270-5257
Print_ISBN :
978-1-4503-0445-0
Electronic_ISBN :
0270-5257
Type :
conf
DOI :
10.1145/1985793.1985978
Filename :
6032577
Link To Document :
بازگشت