Machine learning‐based test oracles for performance testing of cyber‐physical systems: An industrial case study on elevators dispatching algorithms. Issue 11 (25th May 2022)
- Record Type:
- Journal Article
- Title:
- Machine learning‐based test oracles for performance testing of cyber‐physical systems: An industrial case study on elevators dispatching algorithms. Issue 11 (25th May 2022)
- Main Title:
- Machine learning‐based test oracles for performance testing of cyber‐physical systems: An industrial case study on elevators dispatching algorithms
- Authors:
- Gartziandia, Aitor
Arrieta, Aitor
Ayerdi, Jon
Illarramendi, Miren
Agirre, Aitor
Sagardui, Goiuria
Arratibel, Maite - Other Names:
- Miranda Breno guestEditor.
Tuya Javier guestEditor.
Garrido Alejandra guestEditor. - Abstract:
- Abstract: The software of systems of elevators needs constant maintenance to deal with new functionality, bug fixes, or legislation changes. To automatically validate the software of these systems, a typical approach in industry is to use regression oracles, which execute test inputs both in the software version under test and in a previous software version. However, these practices require a long test execution time and cannot be re‐used at different test phases. To deal with these issues, we propose Dispatching AlgoRIthm Oracle (DARIO), a test oracle that relies on regression machine‐learning algorithms to detect both functional and non‐functional problems of the system. The machine‐learning algorithms of this oracle are trained by using data from previously tested versions to predict reference functional and non‐functional performance values of the new versions. An empirical evaluation with an industrial case study demonstrates the feasibility of using our approach. A total of five regression learning algorithms were validated by using mutation testing techniques. For the context of functional bugs, the accuracy when predicting verdicts by DARIO ranged between 95% and 98%, across the different scenarios proposed. For the context of non‐functional bugs, were competitive too, having an accuracy when predicting verdicts by DARIO ranged between 83% and 87%. Abstract : In this paper we demonstrate that training machine‐learning algorithms by using data from previously testedAbstract: The software of systems of elevators needs constant maintenance to deal with new functionality, bug fixes, or legislation changes. To automatically validate the software of these systems, a typical approach in industry is to use regression oracles, which execute test inputs both in the software version under test and in a previous software version. However, these practices require a long test execution time and cannot be re‐used at different test phases. To deal with these issues, we propose Dispatching AlgoRIthm Oracle (DARIO), a test oracle that relies on regression machine‐learning algorithms to detect both functional and non‐functional problems of the system. The machine‐learning algorithms of this oracle are trained by using data from previously tested versions to predict reference functional and non‐functional performance values of the new versions. An empirical evaluation with an industrial case study demonstrates the feasibility of using our approach. A total of five regression learning algorithms were validated by using mutation testing techniques. For the context of functional bugs, the accuracy when predicting verdicts by DARIO ranged between 95% and 98%, across the different scenarios proposed. For the context of non‐functional bugs, were competitive too, having an accuracy when predicting verdicts by DARIO ranged between 83% and 87%. Abstract : In this paper we demonstrate that training machine‐learning algorithms by using data from previously tested versions of software to predict reference values of the new versions is a valid approach to create test oracles. Five regression learning algorithms were evaluated to predict functional and non‐functional performance of dispatching algorithms in different scenarios and the use of real test data for training has been proven to be more convenient than theoretical data for this purpose. … (more)
- Is Part Of:
- Journal of software. Volume 34:Issue 11(2022)
- Journal:
- Journal of software
- Issue:
- Volume 34:Issue 11(2022)
- Issue Display:
- Volume 34, Issue 11 (2022)
- Year:
- 2022
- Volume:
- 34
- Issue:
- 11
- Issue Sort Value:
- 2022-0034-0011-0000
- Page Start:
- n/a
- Page End:
- n/a
- Publication Date:
- 2022-05-25
- Subjects:
- machine learning -- performance testing -- regression testing -- test oracle
Software engineering -- Periodicals
Computer software -- Development -- Periodicals
Software maintenance -- Periodicals
005.1 - Journal URLs:
- http://onlinelibrary.wiley.com/journal/10.1002/(ISSN)2047-7481 ↗
http://onlinelibrary.wiley.com/ ↗ - DOI:
- 10.1002/smr.2465 ↗
- Languages:
- English
- ISSNs:
- 2047-7473
- Deposit Type:
- Legaldeposit
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library DSC - BLDSS-3PM
British Library HMNTS - ELD Digital store - Ingest File:
- 24241.xml