{"title":"Generating Class-Based Test Cases for Interface Classes of Object-Oriented Gray-Box Frameworks","authors":"Jehad Al Dallal, Paul Sorenson","volume":17,"journal":"International Journal of Computer and Systems Engineering","pagesStart":1505,"pagesEnd":1514,"ISSN":"1307-6892","URL":"https:\/\/publications.waset.org\/pdf\/14414","abstract":"An application framework provides a reusable design\nand implementation for a family of software systems. Application\ndevelopers extend the framework to build their particular\napplications using hooks. Hooks are the places identified to show\nhow to use and customize the framework. Hooks define Framework\nInterface Classes (FICs) and their possible specifications, which\nhelps in building reusable test cases for the implementations of these\nclasses. In applications developed using gray-box frameworks, FICs\ninherit framework classes or use them without inheritance. In this\npaper, a test-case generation technique is extended to build test cases\nfor FICs built for gray-box frameworks. A tool is developed to\nautomate the introduced technique.","references":"[1] Beck and R, Johnson. Patterns generated architectures, Proc. of\nECOOP 94, 1994, pp. 139-149.\n[2] G. Froehlich. Hooks: an aid to the reuse of object-oriented frameworks,\nPh.D. Thesis, University of Alberta, Department of Computing Science,\n2002.\n[3] R. Johnson and B. Foote. Designing reusable classes, Journal of Object-\nOriented Programming, Vol. 2(1), 1988, pp. 22-35.\n[4] J. Al Dallal and P. Sorenson, Generating State-Based Testing Models for\nObject-Oriented Framework Interface Classes, Transactions on\nEngineering, Computing and Technology, Vol. 16, 2006, pp. 96-102.\n[5] J. Al Dallal and P. Sorenson, Generating Class-Based Test Cases for\nInterface Classes of Object-Oriented Black Box Frameworks,\nTransactions on Engineering, Computing and Technology, Vol. 16,\n2006, pp. 90-95.\n[6] R. Binder. Testing object-oriented systems, Addison Wesley, 1999.\n[7] T. Chow, Testing software design modeled by finite state machines,\nIEEE Transactions on Software Engineering, EE-4(3), 1978, pp. 178-\n187.\n[8] J. Offut and A. Abdurazik, Generating tests from UML specifications,\nSecond International Conference on the Unified Modeling Language\n(UML99), Fort Collins, CO, October 1999, pp. 416-429.\n[9] K. Bogdanov and M. Holcombe, Statechart testing method for aircraft\ncontrol systems, Software Testing, Verification and Reliability, 11(1),\n2001, pp. 39-54.\n[10] A. Abdurazik, P. Ammann, W. Ding, and J. Offutt, Evaluation of three\nspecification-based testing criteria, Sixth IEEE International Conference\non Engineering of Complex Computer Systems (ICECCS '00), Tokyo,\nJapan, September 2000, pp. 179-187.\n[11] G. Antoniol, L. Briand, M. Penta, and Y. Labiche, A case Study Using\nthe Round-Trip Strategy for State-based Class Testing, Carlton\nUniversity TR SCE-01-08, revised Jan. 2002.\n[12] Y. Kim, H. Hong, D. Bae, and S. Cha, Test cases generation from UML\nstate diagrams, IEE Proc.-Software, 146(4), 1999, pp. 187-192.\n[13] L. Briand, Y. Labiche, A UML-based approach to system testing.\nTechnical Report TR SCE-01-01. Carlton University: Canada, 2002.\n[14] B. Meyer, Design by contracts, IEEE Computer, 1992, Vol. 25(10), pp.\n40-52.\n[15] Jcontract,http:\/\/www.parasoft.com\/jsp\/products\/home.jsp?product=Jcont\nract, ParaSoft Corporation, July 2006.","publisher":"World Academy of Science, Engineering and Technology","index":"Open Science Index 17, 2008"}