TY - GEN
T1 - ReAssert
T2 - 24th IEEE/ACM International Conference on Automated Software Engineering, ASE2009
AU - Daniel, Brett
AU - Jagannath, Vilas
AU - Dig, Danny
AU - Marinov, Darko
PY - 2009
Y1 - 2009
N2 - Developers often change software in ways that cause tests to fail. When this occurs, developers must determine whether failures are caused by errors in the code under test or in the test code itself. In the latter case, developers must repair failing tests or remove them from the test suite. Reparing tests is time consuming but beneficial, since removing tests reduces a test suite's ability to detect regressions. Fortunately, simple program transformations can repair many failing tests automatically. We present ReAssert, a novel technique and tool that suggests repairs to failing tests' code which cause the tests to pass. Examples include replacing literal values in tests, changing assertion methods, or replacing one assertion with several. If the developer chooses to apply the repairs, ReAssert modifies the code automatically. Our experiments show that ReAssert can repair many common test failures and that its suggested repairs correspond to developers' expectations.
AB - Developers often change software in ways that cause tests to fail. When this occurs, developers must determine whether failures are caused by errors in the code under test or in the test code itself. In the latter case, developers must repair failing tests or remove them from the test suite. Reparing tests is time consuming but beneficial, since removing tests reduces a test suite's ability to detect regressions. Fortunately, simple program transformations can repair many failing tests automatically. We present ReAssert, a novel technique and tool that suggests repairs to failing tests' code which cause the tests to pass. Examples include replacing literal values in tests, changing assertion methods, or replacing one assertion with several. If the developer chooses to apply the repairs, ReAssert modifies the code automatically. Our experiments show that ReAssert can repair many common test failures and that its suggested repairs correspond to developers' expectations.
UR - http://www.scopus.com/inward/record.url?scp=77952208390&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=77952208390&partnerID=8YFLogxK
U2 - 10.1109/ASE.2009.17
DO - 10.1109/ASE.2009.17
M3 - Conference contribution
AN - SCOPUS:77952208390
SN - 9780769538914
T3 - ASE2009 - 24th IEEE/ACM International Conference on Automated Software Engineering
SP - 433
EP - 444
BT - ASE2009 - 24th IEEE/ACM International Conference on Automated Software Engineering
Y2 - 16 November 2009 through 20 November 2009
ER -