Skip to main content
placeholder image

In-Place Metamorphic Testing and Exploration

Conference Paper


Abstract


  • In this paper, we consider the testing of software whose input involves a data stream, such as in video analysis applications. To address the oracle problem in testing this kind of software, existing metamorphic testing (MT) and metamorphic exploration (ME) techniques typically generate both source and follow-up input streams. In contrast, we propose a different strategy: an inplace method. Instead of examining relations among multiple input streams, our method works on a finer granularity by investigating relations among the data frames within a single input stream - such as the relations among the image frames within a video stream - treating a frame, rather than a stream, as a test case. Because our method does not generate any follow-up input stream, or change any frame values, it is also suitable for runtime error detection. We have applied this in-place method to testing video streams in Baidu Apollo, a real-life autonomous driving system. Our study identified previously-unknown obstacle perception failures in the camera perception module, including both undetected and incorrectly-detected objects. The empirical results show that our approach is practical, and readily applicable to industrial-scale systems that include (but are not limited to) the computer vision domain.

Publication Date


  • 2022

Citation


  • Zhou, Z. Q., Zhu, J., Chen, T. Y., & Towey, D. (2022). In-Place Metamorphic Testing and Exploration. In Proceedings - 7th International Workshop on Metamorphic Testing, MET 2022 (pp. 1-6). doi:10.1145/3524846.3527334

Scopus Eid


  • 2-s2.0-85135610127

Web Of Science Accession Number


Start Page


  • 1

End Page


  • 6

Abstract


  • In this paper, we consider the testing of software whose input involves a data stream, such as in video analysis applications. To address the oracle problem in testing this kind of software, existing metamorphic testing (MT) and metamorphic exploration (ME) techniques typically generate both source and follow-up input streams. In contrast, we propose a different strategy: an inplace method. Instead of examining relations among multiple input streams, our method works on a finer granularity by investigating relations among the data frames within a single input stream - such as the relations among the image frames within a video stream - treating a frame, rather than a stream, as a test case. Because our method does not generate any follow-up input stream, or change any frame values, it is also suitable for runtime error detection. We have applied this in-place method to testing video streams in Baidu Apollo, a real-life autonomous driving system. Our study identified previously-unknown obstacle perception failures in the camera perception module, including both undetected and incorrectly-detected objects. The empirical results show that our approach is practical, and readily applicable to industrial-scale systems that include (but are not limited to) the computer vision domain.

Publication Date


  • 2022

Citation


  • Zhou, Z. Q., Zhu, J., Chen, T. Y., & Towey, D. (2022). In-Place Metamorphic Testing and Exploration. In Proceedings - 7th International Workshop on Metamorphic Testing, MET 2022 (pp. 1-6). doi:10.1145/3524846.3527334

Scopus Eid


  • 2-s2.0-85135610127

Web Of Science Accession Number


Start Page


  • 1

End Page


  • 6