Abstract
This paper presents a probe-based testing technique that facilitates observing internal details of execution at different levels of abstraction-unit, integration and system levels, during testing of object-oriented software. Our technique adapts probe, an observability measure, to suit the testing needs of object-oriented software. It uses source-code instrumentation, which requires probes to be pre-determined and pre-built in the software during the development phase. Test coverage reports are generated from the information gathered by the executed probes. It includes coverage of probes at probe, method, class, inheritance, regression and dynamic binding levels. During regression testing, our technique helps in the selection of test cases that must be re-executed. Furthermore, the log generated by active probes can be used for post-analysis.
Chapter PDF
Similar content being viewed by others
Keywords
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.
References
A. Goel, S.C. Gupta, K. D. Sharma: Object Oriented Testing: An Overview. In: Proceedings of International Conference on Software Engineering And Its Application, 91–99, Hyderabad, India, Jan (1997)
A. Goel, S.C. Gupta, S. K. Wasan: Object Oriented Software Testing: A Survey Report. In: Proceedings of 2nd Annual International Software Testing Conference, QAI, Bangalore, India, Jan (2001)
A. L. Souter, T. Wong, S. Shindo, and Lori L. Pollock: TATOO: Testing and Analysis Tool Object-Oriented Software. In: Proceedings of 7th International Conference, Tools and Algorithms for the Construction and Analysis of Systems, held as part of ETAPS, April (2001)
A. Orso, M. Pezze: Integration Testing of Procedural Object-Oriented Programs with Polymorphism. In: Proceedings of 16th International Conference on Testing Computer Software, Washington D.C., June (1999)
C. D. Turner, D. J. Robson: A State-Based Approach To The Testing Of Class-Based Programs. Software Concepts and Tools, Vol. 16, No. 3, 106–112, (1995)
G. A. Cohen, J. S. Chase, D. L. Kaminsky: Automatic Program Transformation with JOIE. In: USENIX Annual Technical Symposium, 167–178, (1998)
Glen Mc Clunskey & Associates LLC: Java source code instrumentation. http://www.glenmccl.com/instr
Graves, Harrold, Kim, Porter, Rothermel: An Empirical Study of Regression Test Selection Techniques. In: ACM Transactions on Software Engineering and Methodology, Vol 10, No. 2, 184–208, April (2001)
H. B. Lee, B. G. Zorn: BIT: A Tool For Instrumenting Java Bytecodes. In: Proceedings of USENIX Symposium on Internet Technologies and Systems, 73–82, Monterey, California, Dec (1997)
H. Y. Chen, T. H. Tse, T. Y. Chen: TACCLE: A Methodology for Object-Oriented Software Testing at the Class and Cluster Levels. ACM Transactions Of Software Engineering And Methodology, Vol. 10, No. 4, 56–109, Jan (2001)
J. E. Payne, R. T. Alexander, C. H. Hutchinson: Design-for-Testability for Object Oriented Software. Object Magazine, SIGS Publications Inc., Vol. 7, No.5, 34–43, (1997)
Luiz DeRose, Ted Hoover Jr., J. K. Hollingsworth: The Dynamic Probe Class Library-An Infrastructure for Developing Instrumentation for Performance Tools. In: Proceedings of International Parallel and Distributed Processing Symposium (IPDPS), April (2001)
McGregor, Timothy D. Korson: Integrated Object oriented Testing and Development Processes. Communication of ACM, 59–77, Sept (1994)
Misha Dorman: C++ “It’s Testing Jim, But Not As we Know It”. In: Proceedings of EuroSTAR, Edinburg, Scotland, Nov (1997)
Murphy, Paul Townsend, Pok Sze Wong: Experiences with Cluster and Class Testing. Communication of ACM, 39–47, Sept (1994)
Robert V. Binder: Design for Testability in Object Oriented Systems. Communication of ACM, 87–101, Sept (1994)
Robert Hundt: HP Caliper-An Architecture for Performance Analysis Tools. In: Proceedings of WIESS, San Diego, California, USA, Oct (2000)
R. T. Alexander, A. J. Offutt: Analysis Techniques for Testing Polymorphic Relationships. In: Proceedings of TOOLS, Santa Barbara, California, USA, August (1999)
S. C. Gupta, M. K. Sinha: Improving Software Testability by Observability and Controllability Measures. 13th World Computer Congress, IFIP, 94, Vol 1, 147–154, (1994)
Yuejian Li, N J Wahl: An Overview of Regression Testing. Software Engineering Notes, ACM SIGSOFT, 69–73, Jan (1999)
Z. Jin and A. J. Offutt: Coupling-based Criteria for Integration Testing. Journal of Software Testing, Verification and Reliability, Vol. 8, No. 3, 133–154, Sept. (1998)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2003 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Goel, A., Gupta, S.C., Wasan, S.K. (2003). Probe Mechanism for Object-Oriented Software Testing. In: Pezzè, M. (eds) Fundamental Approaches to Software Engineering. FASE 2003. Lecture Notes in Computer Science, vol 2621. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-36578-8_22
Download citation
DOI: https://doi.org/10.1007/3-540-36578-8_22
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-00899-6
Online ISBN: 978-3-540-36578-5
eBook Packages: Springer Book Archive