Towards Automatic Generation of Amplified Regression Test Oracles
- URL: http://arxiv.org/abs/2307.15527v1
- Date: Fri, 28 Jul 2023 12:38:44 GMT
- Title: Towards Automatic Generation of Amplified Regression Test Oracles
- Authors: Alejandra Duque-Torres, Claus Klammer, Dietmar Pfahl, Stefan Fischer,
Rudolf Ramler
- Abstract summary: We propose a test oracle derivation approach to amplify regression test oracles.
The approach monitors the object state during test execution and compares it to the previous version to detect any changes in relation to the SUT's intended behaviour.
- Score: 44.45138073080198
- License: http://creativecommons.org/licenses/by/4.0/
- Abstract: Regression testing is crucial in ensuring that pure code refactoring does not
adversely affect existing software functionality, but it can be expensive,
accounting for half the cost of software maintenance. Automated test case
generation reduces effort but may generate weak test suites. Test amplification
is a promising solution that enhances tests by generating additional or
improving existing ones, increasing test coverage, but it faces the test oracle
problem. To address this, we propose a test oracle derivation approach that
uses object state data produced during System Under Test (SUT) test execution
to amplify regression test oracles. The approach monitors the object state
during test execution and compares it to the previous version to detect any
changes in relation to the SUT's intended behaviour. Our preliminary evaluation
shows that the proposed approach can enhance the detection of behaviour changes
substantially, providing initial evidence of its effectiveness.
Related papers
Err
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.