Introducing Ensemble Machine Learning Algorithms for Automatic Test Case Generation using Learning Based Testing

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Rahman, Sheikh Md. Mushfiqur, Eisty, Nasir U.
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909307925168128
author Rahman, Sheikh Md. Mushfiqur
Eisty, Nasir U.
author_facet Rahman, Sheikh Md. Mushfiqur
Eisty, Nasir U.
contents Ensemble methods are powerful machine learning algorithms that combine multiple models to enhance prediction capabilities and reduce generalization errors. However, their potential to generate effective test cases for fault detection in a System Under Test (SUT) has not been extensively explored. This study aims to systematically investigate the combination of ensemble methods and base classifiers for model inference in a Learning Based Testing (LBT) algorithm to generate fault-detecting test cases for SUTs as a proof of concept. We conduct a series of experiments on functions, generating effective test cases using different ensemble methods and classifier combinations for model inference in our proposed LBT method. We then compare the test suites based on their mutation score. The results indicate that Boosting ensemble methods show overall better performance in generating effective test cases, and the proposed method is performing better than random generation. This analysis helps determine the appropriate ensemble methods for various types of functions. By incorporating ensemble methods into the LBT, this research contributes to the understanding of how to leverage ensemble methods for effective test case generation.
format Preprint
id arxiv_https___arxiv_org_abs_2409_04651
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Introducing Ensemble Machine Learning Algorithms for Automatic Test Case Generation using Learning Based Testing
Rahman, Sheikh Md. Mushfiqur
Eisty, Nasir U.
Software Engineering
Ensemble methods are powerful machine learning algorithms that combine multiple models to enhance prediction capabilities and reduce generalization errors. However, their potential to generate effective test cases for fault detection in a System Under Test (SUT) has not been extensively explored. This study aims to systematically investigate the combination of ensemble methods and base classifiers for model inference in a Learning Based Testing (LBT) algorithm to generate fault-detecting test cases for SUTs as a proof of concept. We conduct a series of experiments on functions, generating effective test cases using different ensemble methods and classifier combinations for model inference in our proposed LBT method. We then compare the test suites based on their mutation score. The results indicate that Boosting ensemble methods show overall better performance in generating effective test cases, and the proposed method is performing better than random generation. This analysis helps determine the appropriate ensemble methods for various types of functions. By incorporating ensemble methods into the LBT, this research contributes to the understanding of how to leverage ensemble methods for effective test case generation.
title Introducing Ensemble Machine Learning Algorithms for Automatic Test Case Generation using Learning Based Testing
topic Software Engineering
url https://arxiv.org/abs/2409.04651