Authors
Brett Daniel, Vilas Jagannath, Danny Dig, Darko Marinov
Publication date
2009/11/16
Conference
2009 IEEE/ACM International Conference on Automated Software Engineering
Pages
433-444
Publisher
IEEE
Description
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. Repairing 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 …
Total citations
20102011201220132014201520162017201820192020202120222023202436101291216108148101842
Scholar articles
B Daniel, V Jagannath, D Dig, D Marinov - 2009 IEEE/ACM International Conference on …, 2009