STILE : a tool for optimizing E2E web test scripts parallelization
Informazioni aggiuntive
Autori
Olianas D.,
Leotta M.,
Ricca F.,
Biagiola M.,
Tonella P.
Tipo
Articolo pubblicato in rivista scientifica
Anno
2025
Lingua
Inglese
Sommario
Web applications quality is commonly assessed by executing End-to-End (E2E) test scripts interacting with those systems as a human tester would. To avoid setting up the web application state for each test script, testers usually create test scripts that may depend on others previously executed. However, the presence of dependencies prevents parallelization, a fundamental technique for speedup the execution of large test suites. In this paper, we present Stile, a tool for parallelizing the execution of E2E web test scripts that generates and executes a set of test schedules satisfying two important constraints: (1) every schedule respects existing test dependencies, and (2) all test scripts in the test suite are executed at least once. Moreover, Stile optimizes the execution by running only once the test scripts that are shared among the schedules. We empirically evaluated Stile on eight E2E test suites by comparing the execution time of Stile both with the sequential execution and with the parallel execution based on Selenium Grid. Our results show that Stile can reduce the execution time up to 80% w.r.t. the sequential execution and up to 50% w.r.t. Grid. Moreover, Stile provides a reduction in the CPUs usage (i.e., overall CPU-time) up to 75%.
Parole chiave
End-to-end testing, Web testing, Parallel testing, Dependency graph, Selenium Docker
Periodico
Journal of Systems and Software
Volume
222
Pagine (o numero dell’articolo)
112304
ISSN
0164-1212
Diffusione
Licenza
CC BY-NC-ND
Visibilità
Pubblico
Status open access
Hybrid