Ubiquitous learning enables software analysts to acquire knowledge and design test oracles from online resources including developer documentations, forums and collaborative platforms. Test oracles are primarily designed by humans and may contain quality defects. Mutation testing can facilitate the adaptability of ubiquitous learning to enhance software quality assurance. Unfortunately, mutation testing generates a large number of faulty versions known as mutants to analyze the quality of test oracles which is computationally expensive. In this paper, we proposed minimal path selection strategy to select fewer and non-trivial mutants to analyze diverse test oracles realizing ubiquitous learning environments. The proposed selection strategy explores the relationship between faulty conditions and output statements to identify feasible paths. To establish a ubiquitous learning setup, diverse test oracles are selected by incorporating user input, automated scripts and developer insights. This approach aims to enhance learner engagement and effectively design test oracles. The empirical evaluation and state-of-the-art comparison of various Java-built software programs demonstrated the potential of ubiquitous learning in software quality assurance by reducing 75% of the generated mutants. Furthermore, only 64%–85% of adequate test oracles were required to meet the desired quality assurance criteria. The study highlights the significance of personalized and adaptive approaches to assure software quality in ubiquitous learning environments.
Read full abstract