Fault Detection Effectiveness of Source Test Case Generation Strategies for Metamorphic Testing

AI-generated keywords: Metamorphic Testing

AI-generated Key Points

  • Metamorphic testing is a widely used approach in software testing to address the oracle problem.
  • Source test cases are used as seeds to generate follow-up test cases in metamorphic testing.
  • The quality of source test cases is crucial for the effectiveness of metamorphic testing.
  • Previous studies have mainly used random test data or existing test cases as source test cases.
  • Limited research has been done on systematic source test case generation for metamorphic testing.
  • The authors provide a comprehensive evaluation of different source test case generation techniques and their impact on fault finding effectiveness.
  • Line coverage, branch coverage, weak mutation, and random test generation strategies are evaluated for generating source test cases.
  • Experiments are conducted on 77 methods from 4 open-source code repositories.
  • Systematically creating source test cases using these strategies significantly increases fault finding effectiveness.
  • The authors introduce a simple metamorphic testing tool called "METtester" for conducting metamorphic testing.
  • Other related work includes partitioning the input domain of the program under test into multiple equivalence classes and generating test cases covering these classes.
  • This paper provides valuable insights into the importance of systematic source test case generation for improving fault detection effectiveness in metamorphic testing.
Also access our AI generated: Comprehensive summary, Lay summary, Blog-like article; or ask questions about this paper to our AI assistant.

Authors: Prashanta Saha, Upulee Kanewala

8 pages
License: CC BY-NC-SA 4.0

Abstract: Metamorphic testing is a well known approach to tackle the oracle problem in software testing. This technique requires the use of source test cases that serve as seeds for the generation of follow-up test cases. Systematic design of test cases is crucial for the test quality. Thus, source test case generation strategy can make a big impact on the fault detection effectiveness of metamorphic testing. Most of the previous studies on metamorphic testing have used either random test data or existing test cases as source test cases. There has been limited research done on systematic source test case generation for metamorphic testing. This paper provides a comprehensive evaluation on the impact of source test case generation techniques on the fault finding effectiveness of metamorphic testing. We evaluated the effectiveness of line coverage, branch coverage, weak mutation and random test generation strategies for source test case generation. The experiments are conducted with 77 methods from 4 open source code repositories. Our results show that by systematically creating source test cases, we can significantly increase the fault finding effectiveness of metamorphic testing. Further, in this paper we introduce a simple metamorphic testing tool called "METtester" that we use to conduct metamorphic testing on these methods.

Submitted to arXiv on 20 Feb. 2018

Ask questions about this paper to our AI assistant

You can also chat with multiple papers at once here.

AI assistant instructions?

Results of the summarizing process for the arXiv paper: 1802.07361v1

Metamorphic testing is a widely used approach in software testing to address the oracle problem. It involves using source test cases as seeds to generate follow-up test cases. The quality of these source test cases plays a crucial role in the effectiveness of metamorphic testing. While previous studies have mainly used random test data or existing test cases as source test cases, there has been limited research on systematic source test case generation for metamorphic testing. In this paper, the authors provide a comprehensive evaluation of different source test case generation techniques and their impact on the fault finding effectiveness of metamorphic testing. They specifically evaluate the effectiveness of line coverage, branch coverage, weak mutation, and random test generation strategies for generating source test cases. The experiments are conducted on 77 methods from 4 open-source code repositories. The results show that by systematically creating source test cases using these strategies, there is a significant increase in the fault finding effectiveness of metamorphic testing. The authors also introduce a simple metamorphic testing tool called "METtester" that they use to conduct metamorphic testing on these methods. Additionally, the paper discusses other related work in this area. For example, Chen et al. proposed partitioning the input domain of the program under test (PUT) into multiple equivalence classes for metamorphic testing and developed an algorithm to generate test cases covering these equivalence classes. Overall, this paper provides valuable insights into the importance of systematic source test case generation for improving the fault detection effectiveness of metamorphic testing. The evaluation results and introduction of METtester contribute to advancing research in this field.
Created on 26 Sep. 2023

Assess the quality of the AI-generated content by voting

Score: 0

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.

Similar papers summarized with our AI tools

Navigate through even more similar papers through a

tree representation

Look for similar papers (in beta version)

By clicking on the button above, our algorithm will scan all papers in our database to find the closest based on the contents of the full papers and not just on metadata. Please note that it only works for papers that we have generated summaries for and you can rerun it from time to time to get a more accurate result while our database grows.

Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.