Sökning: onr:"swepub:oai:research.chalmers.se:5d0c9d8e-1b85-4bd5-90bd-c6540332b0f5" >
Learning How to Sea...
Learning How to Search: Generating Exception-Triggering Tests Through Adaptive Fitness Function Selection
-
- Almulla, Hussein (författare)
- University of South Carolina
-
- Gay, Gregory, 1987 (författare)
- Gothenburg University,Göteborgs universitet,Institutionen för data- och informationsteknik (GU),Department of Computer Science and Engineering (GU)
-
(creator_code:org_t)
- Porto, Portugal : IEEE, 2020
- 2020
- Engelska.
-
Ingår i: Proceedings - 2020 IEEE 13th International Conference on Software Testing, Verification and Validation, ICST 2020. - Porto, Portugal : IEEE. ; , s. 63-73
- Relaterad länk:
-
https://research.cha... (primary) (free)
-
visa fler...
-
https://gup.ub.gu.se... (primary) (free)
-
https://research.cha...
-
https://research.cha...
-
https://doi.org/10.1...
-
https://gup.ub.gu.se...
-
visa färre...
Abstract
Ämnesord
Stäng
- Search-based test generation is guided by feedback from one or more fitness functions—scoring functions that judge solution optimality. Choosing informative fitness functions is crucial to meeting the goals of a tester. Unfortunately, many goals—such as forcing the class-under-test to throw exceptions— do not have a known fitness function formulation. We propose that meeting such goals requires treating fitness function identification as a secondary optimization step. An adaptive algorithm that can vary the selection of fitness functions could adjust its selection throughout the generation process to maximize goal attainment, based on the current population of test suites. To test this hypothesis, we have implemented two reinforcement learning algorithms in the EvoSuite framework, and used these algorithms to dynamically set the fitness functions used during generation.We have evaluated our framework, EvoSuiteFIT, on a set of 386 real faults. EvoSuiteFIT discovers and retains more exception-triggering input and produces suites that detect a variety of faults missed by the other techniques. The ability to adjust fitness functions allows EvoSuiteFIT to make strategic choices that efficiently produce more effective test suites.
Ämnesord
- NATURVETENSKAP -- Data- och informationsvetenskap -- Programvaruteknik (hsv//swe)
- NATURAL SCIENCES -- Computer and Information Sciences -- Software Engineering (hsv//eng)
- NATURVETENSKAP -- Data- och informationsvetenskap -- Datavetenskap (hsv//swe)
- NATURAL SCIENCES -- Computer and Information Sciences -- Computer Sciences (hsv//eng)
Nyckelord
- Reinforcement Learning
- Search-Based Software Engineering
- Automated Test Generation
- Automated Test Generation
- Search-Based Software Engineering
- Reinforcement Learning
Publikations- och innehållstyp
- kon (ämneskategori)
- ref (ämneskategori)