• Cite Icon9
  • https://doi.org/10.1002/stvr.429Copy DOI Icon

A testing strategy for abstract classes

Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

SUMMARYOne of the characteristics of the increasingly widespread use of object‐oriented libraries and the resulting intensive use of inheritance is the proliferation of dependencies on abstract classes. Since abstract classes cannot be instantiated, they cannot be tested in isolation using standard execution‐based testing strategies. A standard approach to testing abstract classes is to instantiate a concrete descendant class and test the features that are inherited. This paper presents a structured approach that supports the testing of features in abstract classes, paying particular attention to ensuring that the features tested are those defined in the abstract class. Two empirical studies are performed on a suite of large Java programs and the results presented. The first study analyses the role of abstract classes from a testing perspective. The second study investigates the impact of the testing strategy on the programs in this suite to demonstrate its feasibility and to comment on the pragmatics of its use. Copyright © 2010 John Wiley & Sons, Ltd.

Similar Papers
  • Book Chapter
  • Citations75

How Do Java Programs Use Inheritance? An Empirical Study of Inheritance in Java Software

  • Jul 07, 2008
  • Ewan Tempero +2
  • Research Article
  • Citations31

Out of sight, out of mind: a distance-aware forgetting strategy for adaptive random testing

  • Apr 27, 2017
  • Science China Information Sciences
  • Chengying Mao +2
  • Research Article
  • Citations63

The Effects of Auditor Tenure on Fraud and Its Detection

  • Jan 01, 2019
  • The Accounting Review
  • Evelyn R Patterson +2
  • Conference Article

Design issues of a standard cell BiCMOS carrier transceiver on low voltage power lines

  • Oct 11, 1995
  • M.T Lazarescu +2
  • Conference Article

Functional Approach for Reliability Evaluation of WLAN Communication Networks

  • Nov 26, 2020
  • Ruchita Manohar +2
  • Research Article
  • Citations10

Thematic synthesis HIV prevention qualitative studies in men who have sex with men (MSM).

  • Sep 24, 2019
  • Colombia medica (Cali, Colombia)
  • Augusto Mathias +3
  • Research Article

Exploring implementation strategies in evidence-based open streets programs for promoting physical activity in the Americas: a scoping review

  • Jan 01, 2025
  • Frontiers in Public Health
  • Raúl D Gierbolini-Rivera +6
  • Research Article
  • Citations54

How do bugs surface? A comprehensive study on the characteristics of software bugs manifestation

  • Dec 02, 2015
  • Journal of Systems and Software
  • Domenico Cotroneo +3
  • Research Article
  • Citations431

Effective static race detection for Java

  • Jun 11, 2006
  • ACM SIGPLAN Notices
  • Mayur Naik +2
  • Research Article
  • Citations17

The Joanna Briggs Institute clinical fellowship program: a gateway opportunity for evidence-based quality improvement and organizational culture change.

  • Mar 01, 2020
  • International Journal of Evidence-Based Healthcare
  • Craig Lockwood +3
  • Research Article
  • Citations10

A narrative review of BRAF alterations in human tumors: diagnostic and predictive implications

  • Dec 01, 2020
  • Precision Cancer Medicine
  • Lynette M Sholl
  • Conference Article
  • Citations5

What Makes Testing Work: Nine Case Studies of Software Development Teams

  • Jan 01, 2009
  • Chistopher David Thomson +2
  • Research Article

Modeling unobserved variables in dendrochronological age structures improves inferences about population dynamics

  • Dec 01, 2015
  • Canadian Journal of Forest Research
  • Ezequiel Aráoz +1
  • PDF
  • Research Article
  • Citations13

Casting about in the dark: an empirical study of cast operations in Java programs

  • Oct 10, 2019
  • Proceedings of the ACM on Programming Languages
  • Luis Mastrangelo +2
  • Conference Article

Empirical Study on the Most Suitable Commercial Banks' Operational Risk Measurement Approach of China

  • Oct 01, 2008
  • Xiangdong Chen +1
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.