loading
Papers Papers/2022 Papers Papers/2022

Research.Publish.Connect.

Paper

Authors: Anna Derezińska and Olgierd Sobieraj

Affiliation: Warsaw University of Technology, Institute of Computer Science, Nowowiejska 15/19, Warsaw, Poland

Keyword(s): Code Refactoring, Test Maintenance, Unit Tests, Eclipse, IntelliJ IDEA, Java, JUnit.

Abstract: Refactoring provides systematic changes to program code in order to improve its quality. These changes could also require modifications of unit tests associated with a refactored program. Developer environments assist with many code refactoring transformations, which also support some modifications of the tests. Two popular environments for Java programs have been found to be unable to update these tests for all refactoring in a satisfactory way. The flaws in refactoring, the adaptation of the tests after refactoring, and possible improvements were discussed. A tool extension has been introduced to integrate with a refactoring in the Eclipse environment and maintain the corresponding tests. For selected refactorings, additional test cases could also be created to increase code coverage and improve the testing of a refactored program. Experiments have been conducted to evaluate the proposed solutions and verify their limitations.

CC BY-NC-ND 4.0

Sign In Guest: Register as new SciTePress user now for free.

Sign In SciTePress user: please login.

PDF ImageMy Papers

You are not signed in, therefore limits apply to your IP address 3.133.109.30

In the current month:
Recent papers: 100 available of 100 total
2+ years older papers: 200 available of 200 total

Paper citation in several formats:
Derezińska, A. and Sobieraj, O. (2023). Enhancing Unit Tests in Refactored Java Programs. In Proceedings of the 18th International Conference on Evaluation of Novel Approaches to Software Engineering - ENASE; ISBN 978-989-758-647-7; ISSN 2184-4895, SciTePress, pages 734-741. DOI: 10.5220/0011997800003464

@conference{enase23,
author={Anna Derezińska. and Olgierd Sobieraj.},
title={Enhancing Unit Tests in Refactored Java Programs},
booktitle={Proceedings of the 18th International Conference on Evaluation of Novel Approaches to Software Engineering - ENASE},
year={2023},
pages={734-741},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0011997800003464},
isbn={978-989-758-647-7},
issn={2184-4895},
}

TY - CONF

JO - Proceedings of the 18th International Conference on Evaluation of Novel Approaches to Software Engineering - ENASE
TI - Enhancing Unit Tests in Refactored Java Programs
SN - 978-989-758-647-7
IS - 2184-4895
AU - Derezińska, A.
AU - Sobieraj, O.
PY - 2023
SP - 734
EP - 741
DO - 10.5220/0011997800003464
PB - SciTePress