Automated regression unit test generation for program merges

Tao Ji,Liqian Chen,Xiaoguang Mao,Xin Yi,Jiahong Jiang
DOI: https://doi.org/10.1007/s11432-019-3020-4
2022-08-28
Science China Information Sciences
Abstract:Conclusion We propose test oracles for real-world program merges including two-way, three-way, and octopus merges. On this basis, we implemented a tool called TOM to automatically generate test cases to reveal merge conflicts. In addition, we designed the benchmark MCon4J to support further studies on merges. In our experiments, a total of 45 conflict three-way merges and 87 conflict octopus merges were detected using TOM, while the verification-based tool SafeMerge failed to work on MCon4J.
computer science, information systems,engineering, electrical & electronic
What problem does this paper attempt to address?