Article Details

Study of Different Testing Techniques For Oops Software |

Harmanpreet Singh, in Journal of Advances in Science and Technology | Science & Technology


This paper deals with design and development of an automatedtesting tool for Object Oriented Software. By an automated testing tool, wemean a tool that automates a part of the testing process. It can include one ormore of the following processes: test strategy generation, test casegeneration, test case execution, test data generation, reporting and loggingresults. By object-oriented software we mean software designed using OOapproach and implemented using a OO language. Testing of OO software isdifferent from testing software created using procedural languages. Several newchallenges are posed. In the past most of the methods for testing OO softwarewas just a simple extension of existing methods for conventional software.However, they have been shown to be not very appropriate. Hence, new techniques have been developed. This thesis workhas mainly focused on testing design specifications for OO software. Asdescribed later, there is a lack of specification-based testing tools for OOsoftware. An advantage of testing software specifications as compared toprogram code is that specifications are generally correct whereas code isflawed. Moreover, with software engineering principles firmly established inthe industry, most of the software developed nowadays follow all the steps ofSoftware Development Life Cycle (SDLC). For this work, UML specificationscreated in Rational Rose are taken. UML has become the de-facto standard foranalysis and design of OO software. Testing is conducted at 3 levels: Unit, Integration andSystem. At the system level there is no difference between the testingtechniques used for OO software and other software created using a procedurallanguage, and hence, conventional techniques can be used. This tool providesfeatures for testing at Unit (Class) level as well as Integration level.Further a maintenance-level component has also been incorporated. Results ofapplying this tool to sample Rational Rose files have been incorporated, andhave been found to be satisfactory.