kirancodes.me
To Proof Maintenance & Beyond!

MR-Adopt: Automatic Deduction of Input Transformation Function for Metamorphic Testing

Congying Xu, Songqiang Chen, Jiarong Wu, Shing-Chi Cheung, Valerio Terragni, Hengcheng Zhu, Jialun Cao

Abstract

While a recent study reveals that many developer-written test cases can encode a reusable Metamorphic Relation (MR), over 70% of them directly hard-code the source input and follow-up input in the encoded relation. Such encoded MRs, which do not contain an explicit input transformation to transform the source inputs to corresponding follow-up inputs, cannot be reused with new source inputs to enhance test adequacy.

BibTeX
@inproceedings{Xu-al:ASE24,
  author    = {Congying Xu and
               Songqiang Chen and
               Jiarong Wu and
               Shing{-}Chi Cheung and
               Valerio Terragni and
               Hengcheng Zhu and
               Jialun Cao},
  title     = {{MR-Adopt:} Automatic Deduction of Input Transformation Function for Metamorphic Testing},
  booktitle = {ASE},
  pages     = {557--569},
  publisher = {{ACM}},
  year      = {2024},
}

Related papers