Archives and Documentation Center
Digital Archives

Using machine learning to improve automated test generation

Show simple item record

dc.contributor Ph.D. Program in Computer Engineering.
dc.contributor.advisor Şen, Alper.
dc.contributor.author Köroğlu, Yavuz.
dc.date.accessioned 2024-03-12T14:50:27Z
dc.date.available 2024-03-12T14:50:27Z
dc.date.issued 2022
dc.identifier.other CMPE 2022 K76 PhD
dc.identifier.uri http://digitalarchive.boun.edu.tr/handle/123456789/21445
dc.description.abstract Underestimating the value of software testing had catastrophic results in recent history. Automated Test Generation (ATG) is an approach that aims to minimize the manual effort required for testing. This thesis aims to improve the effectiveness and performance of ATG approaches via Machine Learning (ML) based guidance, and focuses on Android Graphical User Interface (GUI) testing using Reinforcement Learning (RL), specifically. We propose four solutions, Q-learning Based Exploration (QBE), Test Case Mutation (TCM), Fully Automated Reinforcement LEArning Driven (FARLEAD), and FARLEAD2 test generators. QBE uses RL to crawl a set of applications and learns an action generation policy while exploring. Then, it uses this learned policy to either detect more unique crashes or cover more activities in new applications. TCM takes the tests QBE generates and replaces the well-behaving actions in those tests with bad-behaving ones to detect even more crashes. FARLEAD uses RL to learn how to verify a functional behavior that is given as a high-level test scenario in the form of a monitorable formal specification. FARLEAD learns by trial-and- error like QBE but it learns app-specific patterns instead of QBE’s app-generic patterns. To the best of out knowledge, FARLEAD is the first engine fully automating the functional testing of GUI applications. Finally, FARLEAD2 improves FARLEAD with Generalized Experience Replay (GER) and human-readable Staged Test Scenario (STS) language. Experimental results show that, QBE outperforms state-of-the-art test generators in crash detection and coverage. Furthermore, executing QBE first and then switching to TCM detects even more unique crashes. FARLEAD and FARLEAD2 expand the scope of automated testing to verifying functional behavior. Overall, these test generators elevate automated GUI testing closer to replacing manual GUI testing.
dc.format.extent 111:001:PDF:b2795852:038469:0:0:0:0:0:0tFull text electronic versionvn
dc.publisher Thesis (Ph.D.) - Bogazici University. Institute for Graduate Studies in Science and Engineering, 2022.
dc.subject.lcsh Automatic test equipment.
dc.subject.lcsh Machine learning.
dc.subject.lcsh Artificial intelligence.
dc.title Using machine learning to improve automated test generation
dc.format.pages xiv, 96 leaves


Files in this item

This item appears in the following Collection(s)

Show simple item record

Search Digital Archive


Browse

My Account