Mostra i principali dati dell'item
Test Quest: Migliorare i test Selenium attraverso la gamification e gli LLM in IntelliJ IDEA
| dc.contributor.advisor | Leotta, Maurizio <1983> | |
| dc.contributor.advisor | Ricca, Filippo <1969> | |
| dc.contributor.advisor | Cerioli, Maura <1964> | |
| dc.contributor.author | Talgatkyzy, Arailym <2002> | |
| dc.date.accessioned | 2026-10-22T14:36:08Z | |
| dc.date.available | 2026-10-22T14:36:08Z | |
| dc.date.issued | 2026-10-14 | |
| dc.identifier.uri | https://unire.unige.it/handle/123456789/17379 | |
| dc.description.abstract | I test Web end-to-end richiedono una manutenzione regolare. I tester devono individuare locator fragili, aggiungere scenari mancanti e assicurarsi che le asserzioni verifichino correttamente il comportamento atteso. Indicazioni generiche, come “utilizzare locator più robusti”, non specificano quale modifica debba essere apportata in un determinato progetto né quando tale modifica possa essere considerata completata. Questa tesi presenta Test Quest, un plugin per IntelliJ IDEA che trasforma i test Java/Selenium esistenti e le pagine acquisite durante l’esecuzione dei test in piccoli compiti di miglioramento, denominati quest. Ogni quest identifica un test di riferimento, descrive la modifica attesa, elenca i criteri di accettazione e indica un livello di difficoltà e una ricompensa in punti esperienza. Un Large Language Model (Gemini) genera le quest sulla base di una porzione limitata del progetto. Il plugin stesso controlla quindi ogni quest proposta e, successivamente, determina se l’utente l’ha completata applicando regole predefinite al codice sorgente e alle pagine acquisite, oltre a eseguire il metodo di test interessato. Il modello linguistico non assegna mai punti esperienza e una quest completata non può essere premiata più di una volta. Questi controlli confermano che sia stato effettuato il tipo di modifica richiesto e che il test venga eseguito con successo; non dimostrano, tuttavia, che la modifica costituisca un miglioramento significativo. Il prototipo è stato valutato su due applicazioni del benchmark BEWT, Kanboard ed ExpressCart. In uno studio pilota controbilanciato con disegno within-subject, tutti e quattro i partecipanti hanno riferito che Test Quest rendeva i compiti più chiari e più interessanti rispetto ai normali compiti scritti, mentre le loro risposte relative all’efficienza percepita, alla fiducia, alla perseveranza e alla preferenza futura sono risultate eterogenee; il completamento dei compiti, la correttezza e il tempo impiegato no | it_IT |
| dc.description.abstract | End-to-end Web tests need regular maintenance. Testers have to find fragile locators, add missing scenarios, and make assertions check the right behavior. General advice such as “use more robust locators” does not say which change to make in a given project or when the change is finished. This thesis presents Test Quest, an IntelliJ IDEA plugin that turns existing Java/Selenium tests and pages captured while the tests run into small improvement tasks called quests. Each quest names a target test, describes the expected change, lists acceptance criteria, and shows a difficulty level and a reward in experience points. A large language model (Gemini) writes the quests from a limited part of the project. The plugin itself then checks each proposed quest, and later decides whether the user has completed it by applying fixed source-code and page rules and by running the target test method. The language model never awards experience points, and a completed quest cannot be rewarded twice. These checks confirm that the requested kind of change was made and that the test passes; they do not prove that the change is a meaningful improvement. The prototype was evaluated on two applications from the BEWT benchmark, Kanboard and ExpressCart. In a counterbalanced within-subject pilot, all four participants reported that Test Quest made the tasks clearer and more interesting than ordinary written tasks, while their answers about perceived efficiency, confidence, persistence, and future preference were mixed; task completion, correctness, and time were not measured. In a frozen generation run, all five requests returned a valid set of three quests, and all 15 quests were grounded in the project; the author rated 10 and an independent reviewer 11 of them as usable, with most problems caused by tests that depend on data created by other tests. In nine prepared verifier cases, run by both reviewers, points were awarded for every correct implementation and for no incorrect one, although | en_UK |
| dc.language.iso | en | |
| dc.language.iso | it | |
| dc.rights | info:eu-repo/semantics/restrictedAccess | |
| dc.title | Test Quest: Migliorare i test Selenium attraverso la gamification e gli LLM in IntelliJ IDEA | it_IT |
| dc.title.alternative | Test Quest: Gamifying Selenium Test Improvement with LLMs in IntelliJ IDEA | en_UK |
| dc.type | info:eu-repo/semantics/masterThesis | |
| dc.subject.miur | INF/01 - INFORMATICA | |
| dc.publisher.name | Università degli studi di Genova | |
| dc.date.academicyear | 2025/2026 | |
| dc.description.corsolaurea | 10852 - COMPUTER SCIENCE | |
| dc.description.area | 7 - SCIENZE MAT.FIS.NAT. | |
| dc.description.department | 100023 - DIPARTIMENTO DI INFORMATICA, BIOINGEGNERIA, ROBOTICA E INGEGNERIA DEI SISTEMI |
Files in questo item
Questo item appare nelle seguenti collezioni
-
Laurea Magistrale [8404]

