Ändra sökning
RefereraExporteraLänk till posten
Permanent länk

Direktlänk
Referera
Referensformat
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Annat format
Fler format
Språk
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Annat språk
Fler språk
Utmatningsformat
  • html
  • text
  • asciidoc
  • rtf
The Prevalence of Code Review Guidelines for GUI-Based Testing in Open-Source
Blekinge Tekniska Högskola, Fakulteten för datavetenskaper, Institutionen för programvaruteknik.ORCID-id: 0000-0002-2916-4020
Blekinge Tekniska Högskola, Fakulteten för datavetenskaper, Institutionen för programvaruteknik.ORCID-id: 0000-0001-7903-8236
Blekinge Tekniska Högskola, Fakulteten för datavetenskaper, Institutionen för programvaruteknik.ORCID-id: 0000-0001-7526-3727
Independent Researcher, Sweden.
2026 (Engelska)Ingår i: Information and Software Technology, ISSN 0950-5849, E-ISSN 1873-6025, Vol. 241, artikel-id 113004Artikel i tidskrift (Refereegranskat) Published
Abstract [en]

Context: Code review has become a core practice in collaborative software engineering, helping ensure code quality, detecting potential bugs, and supporting communication among developers. Prior research has shown that code review practices differ between production and test code, suggesting that established code review guidelines may fall short in the context of test and GUI-based test code. Particularly, GUI-based testing lacks adequate support during the code review process. To address this, we proposed a set of code review guidelines specifically designed for reviewing GUI-based test files. However, these guidelines have not yet been empirically evaluated, which limits their practical relevance.

Objective: This study examines the extent to which code review comments on GUI-based tests align (explicitly or implicitly) with the concerns captured by the proposed guidelines and uses the findings to refine these guidelines.

Method: To achieve this, we sampled code review comments discussing GUI-based test files across 100 open-source projects and manually analyzed 1000 pull requests to determine the extent to which the reviewers’ comments align with the proposed guidelines.

Results: Review comments aligned with the proposed guidelines in 808 of 1000 pull requests. We found empirical support for 25 of the 33 guidelines in code review practice. The most frequently observed guideline concerns the correct use of testing techniques and exception handling, particularly regarding locators, explicit waits, and timeout behavior.

Conclusion: The observed alignment suggests that the proposed guidelines capture concerns articulated in practice, indicating practical relevance for GUI-based test reviews. The results position the guidelines as practice-informed recommendations and motivate future work to evaluate their impact on review quality and outcomes.

Ort, förlag, år, upplaga, sidor
Elsevier, 2026. Vol. 241, artikel-id 113004
Nyckelord [en]
Code review, GitHub, GUI testing, GUI-based testing, Mining software repositories, Sample study Test scripts
Nationell ämneskategori
Programvaruteknik
Forskningsämne
Programvaruteknik
Identifikatorer
URN: urn:nbn:se:bth-28725DOI: 10.2139/ssrn.5547512ISI: 001822293500001Scopus ID: 2-s2.0-105043881643OAI: oai:DiVA.org:bth-28725DiVA, id: diva2:2003977
Ingår i projekt
SERT- Software Engineering ReThought, KK-stiftelsen
Forskningsfinansiär
KK-stiftelsen, 20180010Tillgänglig från: 2025-10-06 Skapad: 2025-10-06 Senast uppdaterad: 2026-08-11Bibliografiskt granskad
Ingår i avhandling
1. Code Review of GUI-based Tests
Öppna denna publikation i ny flik eller fönster >>Code Review of GUI-based Tests
2025 (Engelska)Doktorsavhandling, sammanläggning (Övrigt vetenskapligt)
Abstract [en]

Background: Modern software systems are large and complex, requiring collaboration among developers with diverse skills to manage this complexity. Code review is an essential collaborative software engineering practice in which changes are discussed before they are integrated into the codebase, enhancing code quality and promoting knowledge sharing. GUI-based testing is a technique that verifies and validates a system’s behavior through its GUI by simulating user interactions. Like production code, it requires collaboration, as tests are created, reviewed, and maintained alongside production code. Code review practices for tests differ from those for production code. Omitting reviews of tests can lower their quality and increase maintenance costs. However, practices for reviewing GUI-based tests are not well understood, as academic literature mainly focuses on production code and low-level tests.

Objective: We aim to advance the understanding and practice of code review of GUI-based tests by (a) identifying code review guidelines; (b) investigating the specific practices, challenges, and information needs; (c) finding empirical evidence supporting the proposed guidelines; and (d) providing an outlook on how code review may evolve in the future.

Methods: First, we conduct a literature review of white and gray literature to identify guidelines for source and test code, and synthesize them for GUI-based tests. Next, we perform qualitative interviews with software testing professionals to identify practices, challenges, and information needs when reviewing GUI-based tests. To find empirical evidence for the proposed guidelines, we mine open-source software repositories. Finally, we conduct a questionnaire survey to gather practitioners’ expectations about the future importance of code reviews.

Results: We synthesized 33 guidelines for GUI-based tests from literature sources. In analyzing code review comments from open-source repositories, we found empirical evidence supporting 25 out of the 33 proposed guidelines. Practitioners acknowledge the importance of code reviews, but lack defined practices for reviewing GUI-based tests. We identified four practices, six challenges, and four information needs related to reviewing GUI-based tests. The survey results indicate that code review will remain an essential practice with an anticipated increase in code review activities, including those for GUI-based tests.

Conclusion: This thesis advances the understanding and practice of code review for GUI-based tests to improve both review effectiveness and the quality of the tests underreview. We present a set of empirically grounded guidelines derived from literature and refined through the analysis of code review comments of open-source repositories. Our research investigates current practices for reviewing GUI-based tests, highlighting the specific challenges and information needs that distinguish these reviews from those for production code. Finally, we highlight the relevance of our research for the future.

Ort, förlag, år, upplaga, sidor
Karlskrona: Blekinge Tekniska Högskola, 2025. s. 204
Serie
Blekinge Institute of Technology Doctoral Dissertation Series, ISSN 1653-2090 ; 2025:14
Nyckelord
Code review, software inspection, GUI testing, GUI-based testing, guidelines, best practices
Nationell ämneskategori
Programvaruteknik
Forskningsämne
Programvaruteknik
Identifikatorer
urn:nbn:se:bth-28772 (URN)978-91-7295-515-8 (ISBN)
Disputation
2025-11-24, J1630, Valhallavägen 1, Karlskrona, 09:00 (Engelska)
Opponent
Handledare
Tillgänglig från: 2025-10-28 Skapad: 2025-10-16 Senast uppdaterad: 2025-10-28Bibliografiskt granskad

Open Access i DiVA

fulltext(1752 kB)8 nedladdningar
Filinformation
Filnamn FULLTEXT02.pdfFilstorlek 1752 kBChecksumma SHA-512
f16bb20cc636685c80d7defad6c31b8e53304c6f28c8989b5c3145ecc167f79e0bc4e9106a9e5184011bd3963438a607f7b385e76049faab3c1367c6f22e1dc5
Typ fulltextMimetyp application/pdf

Övriga länkar

Förlagets fulltextScopus

Person

Bauer, AndreasAngermeir, FlorianAlégroth, Emil

Sök vidare i DiVA

Av författaren/redaktören
Bauer, AndreasAngermeir, FlorianAlégroth, Emil
Av organisationen
Institutionen för programvaruteknik
I samma tidskrift
Information and Software Technology
Programvaruteknik

Sök vidare utanför DiVA

GoogleGoogle Scholar
Totalt: 651 nedladdningar
Antalet nedladdningar är summan av nedladdningar för alla fulltexter. Det kan inkludera t.ex tidigare versioner som nu inte längre är tillgängliga.

doi
urn-nbn

Altmetricpoäng

doi
urn-nbn
Totalt: 2049 träffar
RefereraExporteraLänk till posten
Permanent länk

Direktlänk
Referera
Referensformat
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Annat format
Fler format
Språk
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Annat språk
Fler språk
Utmatningsformat
  • html
  • text
  • asciidoc
  • rtf