Metamorphic Testing for Plant Identification Mobile Applications Based on Test Contexts

Guo, Hongjing and Tao, Chuanqi and Huang, Zhiqiu (2020) Metamorphic Testing for Plant Identification Mobile Applications Based on Test Contexts. In: Mobile Computing, Applications, and Services. 11th EAI International Conference, MobiCASE 2020, Shanghai, China, September 12, 2020, Proceedings.

[thumbnail of 74363.pdf] PDF
74363.pdf

Download (1MB)

Abstract

With the fast growth of artificial intelligence and big data technologies, AI-based mobile apps are widely used in people’s daily life. However, the quality problem of apps is becoming more and more prominent. Many AI-based mobile apps often demonstrate inconsistent behaviors for the same input data when context conditions are changed. Nevertheless, existing work seldom focuses on performing testing and quality validation for AI-based mobile apps under different context conditions. To automatically test AI-based plant identification mobile apps, this paper introduces TestPlantID, a novel metamorphic testing approach based on test contexts. First, TestPlantID constructs seven test contexts for mimicking contextual factors of plant identification usage scenarios. Next, TestPlantID defines test-context-based metamorphic relations for performing metamorphic testing to detect inconsistent behaviors. Then, TestPlantID generates follow-up images with various test contexts for testing by applying image transformations and photographing real-world plants. Moreover, a case study on three plant identification mobile apps shows that TestPlantID could reveal more than five thousand inconsistent behaviors, and differentiate the capability of detecting inconsistent behaviors with different test contexts.

Item Type: Conference or Workshop Item (UNSPECIFIED)
Uncontrolled Keywords: Test context, AI-based software, Metamorphic testing
Date Deposited: 04 Mar 2026 19:03
Last Modified: 20 Nov 2026 11:42
URI: https://eprints.eai.eu/id/eprint/55019

Actions (login required)

View Item
View Item