loading
Papers Papers/2022 Papers Papers/2022

Research.Publish.Connect.

Paper

Author: Lorenzo Bettini

Affiliation: Dipartimento Statistica, Informatica, Applicazioni. Università degli studi di Firenze, 50134 Firenze, Italy

Keyword(s): Java, Reflection, Testing Framework.

Abstract: Java reflection allows a program to inspect the structure of objects at run-time and provides a powerful mechanism to achieve many interesting dynamic features in several Java frameworks. However, reflection breaks the static type safety properties of Java programs and introduces a run-time overhead; thus, it might be better to avoid reflection when possible. In this paper, we present a novel Java testing framework where reflection is never used: we implement the framework only with the Object-Oriented and functional programming mechanisms provided by Java. We will show that implementing and using such a framework is easy, and we avoid the run-time overhead of reflection. Our framework can be used with existing testing libraries and is meant to be extendable.

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 18.118.1.85

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:
Bettini, L. (2023). A Java Testing Framework Without Reflection. In Proceedings of the 18th International Conference on Software Technologies - ICSOFT; ISBN 978-989-758-665-1; ISSN 2184-2833, SciTePress, pages 369-376. DOI: 10.5220/0012082800003538

@conference{icsoft23,
author={Lorenzo Bettini.},
title={A Java Testing Framework Without Reflection},
booktitle={Proceedings of the 18th International Conference on Software Technologies - ICSOFT},
year={2023},
pages={369-376},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0012082800003538},
isbn={978-989-758-665-1},
issn={2184-2833},
}

TY - CONF

JO - Proceedings of the 18th International Conference on Software Technologies - ICSOFT
TI - A Java Testing Framework Without Reflection
SN - 978-989-758-665-1
IS - 2184-2833
AU - Bettini, L.
PY - 2023
SP - 369
EP - 376
DO - 10.5220/0012082800003538
PB - SciTePress