File Download

There are no files associated with this item.

  • Find it @ UNIST can give you direct access to the published full text of this article. (UNISTARs only)
Related Researcher

김미정

Kim, Mijung
Read More

Views & Downloads

Detailed Information

Cited time in webofscience Cited time in scopus
Metadata Downloads

Which generated test failures are fault revealing? prioritizing failures based on inferred precondition violations using PAF

Author(s)
Kim, MijungCheung, S.-C.Kim, S.
Issued Date
2018-11-04
DOI
10.1145/3236024.3236058
URI
https://scholarworks.unist.ac.kr/handle/201301/80526
Citation
ACM SIGSOFT International Symposium on the Foundations of Software Engineering / European Software Engineering Conference, pp.679 - 690
Abstract
Automated unit testing tools, such as Randoop, have been developed to produce failing tests as means of finding faults. However, these tools often produce false alarms, so are not widely used in practice. The main reason for a false alarm is that the generated failing test violates an implicit precondition of the method under test, such as a field should not be null at the entry of the method. This condition is not explicitly programmed or documented but implicitly assumed by developers. To address this limitation, we propose a technique called Paf to cluster generated test failures due to the same cause and reorder them based on their likelihood of violating an implicit precondition of the method under test. From various test executions, Paf observes their dataflows to the variables whose values are used when the program fails. Based on the dataflow similarity and where these values are originated, Paf clusters failures and determines their likelihood of being fault revealing. We integrated Paf into Randoop. Our empirical results on open-source projects show that Paf effectively clusters fault revealing tests arising from the same fault and successfully prioritizes the fault-revealing ones.
Publisher
ACM

qrcode

Items in Repository are protected by copyright, with all rights reserved, unless otherwise indicated.