An aspect-oriented testability framework

  • Authors:
  • Nankai Pan;Eunjee Song

  • Affiliations:
  • Baylor University, Waco, TX;Baylor University, Waco, TX

  • Venue:
  • Proceedings of the 2012 ACM Research in Applied Computation Symposium
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

We can specify design constraints of a software system using a formal language such as Object Constraint Language (OCL). However, OCL is not executable and cannot be explicitly used as a testing method. So runtime constraint checking is needed to mitigate this problem. Checking design constraints at runtime can help to detect design drift. On the other hand, making a software testable is also hard since testing requires active involvement of programmers. Testable software introduces a quality characteristics of software artifact called testability. This paper mainly concentrates on improving observability, one of the major factors that determine testability of a software artifact. To avoid design drift and make software more testable, this paper proposes an aspect-oriented testability framework for object oriented software testing, which enables runtime constraint checking against implementation code and improves the testability of a software system. This framework completely takes the advantage of aspect-oriented programming (AOP) approaches and is totally modular and plug-and-playable.