作者
Chengpeng Li, M Mahdi Khosravi, Wing Lam, August Shi
发表日期
2023/7/12
图书
Proceedings of the 32nd ACM SIGSOFT International Symposium on Software Testing and Analysis
页码范围
627-638
简介
Software testing suffers from the presence of flaky tests, which can pass or fail when run on the same version of code. Order- dependent tests (OD tests) are flaky tests whose outcome depends on the order in which they are run. An OD test can be detected if specific tests are run or not run before it, resulting in a difference in test outcome. While prior work has proposed rerunning tests in different random test orders, this approach does not provide guarantees toward detecting all OD tests. Later work that proposed a more systematic approach to ordering tests still fails to account for the relationships between all tests in the test suite. We propose three new techniques to detect OD tests through a more systematic means of producing test orders. Our techniques build upon prior work in Tuscan squares to cover test pairs in a minimal set of test orders while also obeying the constraints of how tests can be positioned in a …
引用总数
学术搜索中的文章
C Li, MM Khosravi, W Lam, A Shi - Proceedings of the 32nd ACM SIGSOFT International …, 2023