Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
article

Reusing class-based test cases for testing object-oriented framework interface classes: Research Articles

Published: 01 May 2005 Publication History

Abstract

An application framework provides a reusable design and implementation for a family of software systems. Frameworks are introduced to reduce the cost of a product line (i.e., family of products that share the common features) and to increase the maintainability of software products through the deployment of reliable large-scale reusable components. A key challenge with frameworks is the development, evolution and maintenance of test cases to ensure the framework operates appropriately in a given application or product. Reusable test cases increase the maintainability of the software products because an entirely new set of test cases does not have to be generated each time the framework is deployed. At the framework deployment stage, the application developers (i.e., framework users) may need the flexibility to ignore or modify part of the specification used to generate the reusable class-based test cases. This paper addresses how to deal effectively with the different modification forms such that the use of the test cases becomes easy and straightforward in testing the framework interface classes (FICs) developed at the application development stage. Finally, the paper discusses the fault coverage and experimentally examines the specification coverage of the reusable test cases. Copyright © 2005 John Wiley & Sons, Ltd.

References

[1]
1. Beck K, Johnson R. Patterns generated architectures. Proceedings of the 8th European Conference (ECOOP 94). Springer: Berlin, 1994; 139-149.
[2]
2. Saleh K, Boujarwah A, Al-Dallal J. Anomaly detection in concurrent Java programs using dynamic data flow analysis. Journal of Information and Software Technology 2001; 43(15): 973-981.
[3]
3. Chen H, Tse T, Chen T. TACCLE: A methodology for object-oriented software testing at the class and cluster levels. ACM Transactions on Software Engineering and Methodology 2001; 10(1): 56-109.
[4]
4. Binder R. Testing Object-Oriented Systems. Addison-Wesley: Reading MA, 1999; 1191.
[5]
5. Al Dallal J, Sorenson P. System testing for object-oriented frameworks using hook technology. Proceedings 17th IEEE International Conference on Automated Software Applications (ASE 02). IEEE Computer Society Press: Los Alamitos CA, 2002; 231-236.
[6]
6. Fayad M, Schmidt D, Johnson R. Building Application Frameworks: Object-Oriented Foundations of Framework Design. Wiley: New York NY, 1999; 688.
[7]
7. Froehlich G. Hooks: An aid to the reuse of object-oriented frameworks. Doctoral Dissertation, Department of Computing Science, University of Alberta, Edmonton AB, 2002; 139 pp.
[8]
8. Al Dallal J, Sorenson P. Automatic construction of class state-based testing model using method specifications. Proceedings of the IASTED International Conference on Computer Science and Technology (CST 2003). ACTA Press: Anaheim CA, 2003; 43-49.
[9]
9. Al Dallal J, Sorenson P. Generating reusable test drivers for object-oriented framework interface classes from UML specifications. Proceedings of the IASTED International Conference on Software Engineering and Applications (SEA 2002). ACTA Press: Anaheim CA, 2002; 471-476.
[10]
10. Froehlich G, Hoover HJ, Liu L, Sorenson PG. Hooking into object-oriented application frameworks. Proceedings of the 19th International Conference on Software Engineering. ACM Press: New York NY, 1997; 491-501.
[11]
11. Briand L, Labiche Y. A UML-based approach to system testing. Technical Report TR SCE-01-01, Carlton University, Ottawa ON, 2002; 57.
[12]
12. Offutt J, Pan J. Automatically detecting equivalent mutants and infeasible paths. The Journal of Software Testing, Verification, and Reliability 1997; 7(3): 165-192.
[13]
13. Cheon Y, Leavens G. A simple and practical approach to unit testing: The JML and JUnit way. Proceedings of the 16th European Conference on Object-Oriented Programming (ECOOP2002). Springer: Berlin, 2002; 231-254.
[14]
14. Antoniol G, Briand L, Penta M, Labiche Y. A case study using the round-trip strategy for state-based class testing. Technical Report TR SCE-01-08, Carlton University, Ottawa ON, 2002; 10.
[15]
15. Froehlich G. CSF: Client-Server Framework. Framework Applications. University of Alberta, Edmonton AB, 2000. http://www.cs.ualberta.ca/~garry/framework {13 December 2001}.
[16]
16. Institute for Software Technology. The SalesPoint Framework V2.0 Homepage. Tools Pages. Institute for Software Technology, Neubiberg, Germany, 1999. http://www2-data.informatik.unibw-muenchen.de/Lectures/SalesPoint/ {13 December 2004}.
[17]
17. Harrold M, Jones J, Li T, Liang D, Orso A, Pennings M, Sinha S, Spoon S, Gujarathi A. Regression test selection for Java software. Proceedings of the 2001 ACM SIGPLAN Conference on Object-Oriented Programming Systems, Languages and Applications (OOPSLA 2001). ACM Press: New York NY, 2001; 312-326.
[18]
18. Hsia P, Li X, Kung D, Hsu C, Li L, Toyoshima Y, Chen C. A technique for the selective revalidation of OO software. Journal of Software Maintenance 1997; 9(4):217-233.
[19]
19. Kung D, Gao J, Hsia P, Toyoshima Y, Chen C. Class firewall, regression testing, and software maintenance of object-oriented systems. Journal of Object-Oriented Programming 1995; 9(5): 51-63.
[20]
20. Kung D, Gao J, Hsia P, Wen F, Toyoshima Y, Chen C. Change impact identification in object oriented software maintenance. Proceedings International Conference on Software Maintenance. IEEE Computer Society Press: Los Alamitos CA, 1994; 202-211.
[21]
21. Kung D, Gao J, Hsia P, Wen F, Toyoshima Y, Chen C. On regression testing of object-oriented programs. The Journal of Systems and Software 1996; 32(1): 21-40.
[22]
22. Rothermel G, Harrold M. Selecting regression tests for object-oriented software. Proceedings International Conference on Software Maintenance. IEEE Computer Society Press: Los Alamitos CA, 1994; 14-25.
[23]
23. Rothermel G, Harrold M, Dedhia J. Regression test selection for C++ software. Journal of Software Testing, Verification, and Reliability 2000; 10(6): 77-109.
[24]
24. White L, Abdullah K. A firewall approach for regression testing of object-oriented software. Proceedings of the 10th Annual Software Quality Week. Software Research Institute: San Francisco CA, 1997; 1-17.
[25]
25. Harrold M, McGregor J, Fitzpatrick K. Incremental testing of object-oriented class structures. Proceedings 14th International Conference on Software Engineering. IEEE Computer Society Press: Los Alamitos CA, 1992; 68-80.
[26]
26. McDonald J, Strooper P. Testing inheritance hierarchies in the ClassBench framework. Proceedings Technology of Object-Oriented Languages and Systems. IEEE Computer Society Press: Los Alamitos CA, 1998; 229-241.
[27]
27. Murray L, Carrington D, MacColl I, Strooper P. Extending test templates with inheritance. Proceedings Australian Software Engineering Conference (ASWEC 97). IEEE Computer Society Press: Los Alamitos CA, 1997; 80-87.
[28]
28. Wilkin S, Hoffman D. JUnit extensions for documentation and inheritance. Proceedings of the 2002 Pacific Northwest Software Quality Conference. PNSQC/Pacific Agenda: Portland OR, 2002; 71-84.
[29]
29. McGregor J. Building reusable test assets for a product line tutorial. Proceedings of the 7th International Conference on Software Reuse: Methods, Techniques, and Tools. Springer: Berlin, 2002; 345-346.
[30]
30. McGregor J. Testing a software product line. Technical Report CMU/SEI-2001-TR-022, Software Engineering Institute, Carnegie Mellon University, Pittsburgh PA, 2001; 83.
[31]
31. Hörnstein J, Edler H. Test reuse in CBSE using built-in tests. Component-Based Software Engineering Workshop: Composing Systems from Components (ECBS 2002). Component+ IVF: Stockholm, Sweden, 2002; 4.
[32]
32. Wang Y, Patel D, King G, Court I, Staples G, Ross M, Fayad M. On built-in test reuse in object-oriented framework design. ACM Computing Surveys 2000; 32(1): 7-12.

Cited By

View all

Index Terms

  1. Reusing class-based test cases for testing object-oriented framework interface classes: Research Articles
    Index terms have been assigned to the content through auto-classification.

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image Journal of Software Maintenance and Evolution: Research and Practice
    Journal of Software Maintenance and Evolution: Research and Practice  Volume 17, Issue 3
    May 2005
    77 pages

    Publisher

    John Wiley & Sons, Inc.

    United States

    Publication History

    Published: 01 May 2005

    Author Tags

    1. class testing
    2. framework interface classes (FICs)
    3. object-oriented framework
    4. reusable test cases
    5. specification-based testing

    Qualifiers

    • Article

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)0
    • Downloads (Last 6 weeks)0
    Reflects downloads up to 30 Aug 2024

    Other Metrics

    Citations

    Cited By

    View all
    • (2013)ReuseACM SIGSOFT Software Engineering Notes10.1145/2439976.243998238:2(1-11)Online publication date: 23-Mar-2013
    • (2013)Report from the second international workshop on games and software engineering (GAS 2012)ACM SIGSOFT Software Engineering Notes10.1145/2413038.238276338:1(34-35)Online publication date: 23-Jan-2013
    • (2013)Report from the second international workshop on games and software engineering (GAS 2012)ACM SIGSOFT Software Engineering Notes10.1145/2382756.238276337:6(1-6)Online publication date: 23-Jan-2013
    • (2010)Nature-inspired techniques for conformance testing of object-oriented softwareApplied Soft Computing10.1016/j.asoc.2009.09.00310:3(730-745)Online publication date: 1-Jun-2010
    • (2008)Integrated object-oriented framework-based testing environmentProceedings of the 8th conference on Applied computer scince10.5555/1504034.1504056(111-116)Online publication date: 21-Nov-2008

    View Options

    View options

    Get Access

    Login options

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media