An Efficient Test Data Generation Approach for Unit Testing

Journal Title: IOSR Journals (IOSR Journal of Computer Engineering) - Year 2016, Vol 18, Issue 4

Abstract

Abstract: To ensure the delivery of high-quality software, software testing plays the vital role. One of the major time-consuming and expensive activities in software testing is the generation of test data. Test data generation activity has a strong impact on the effectiveness and efficiency of the whole testing process. In order to reducethe cost and time involved in the process of test data generation, researchers and practitioners have tried to automate it. In literature, many such techniques have been developed and the most commonly used ones are; Random testing, Symbolic execution and evolutionary testing. In this work, an enhanced and efficient Random test data generation approach is proposed and investigated for a suite of programs and its efficiency is compared with the Genetic algorithm which is an evolutionary approach. The inconsistency of randomapproach is that it is not capable of generating a specific set or combination of test cases for the program input variables. So, in order to remove this inconsistency from the test suite, it is seeded with a more effective set of test cases through our proposed approach. In addition to the proposed approach, the classification of test adequacy criteria and issues with random, symbolic execution and genetic algorithm based test data generation techniques are also provided and highlighted.

Authors and Affiliations

Anil Kumar Gupta, Fayaz Ahmad Khan

Keywords

Related Articles

Towards Automated Generation of ER-Diagram using a Web Based Approach

Abstract : Diagrams plays an important role in the software development process. Drawing the diagrams manually is the time consuming task, so there are many tools to draw and modify the diagram. From all the diagrams ER...

Implementation of Network Security in Mobile AD-HOC Networks using Multilevel Encryption Techniques

When we are sending a secret information fromsource to destination over a wireless network, safe and secure transmission is a critical issue. An ad-hoc network is a set of wireless nodes and any type of central control o...

Visual Cryptography Implementation with Key Sharing For Effective Phishing Detection Process

The advent of the internet, various online attacks has been increased and among them the most popular attack is phishing. Phishing is an attempt by an individual or a group to get personal, confidential information such...

Segmentation of Moving Object In Video Using Background Registration and GMEC

Abstract: Emerging multimedia applications demand content-based video processing. Content based video retrieval or concept detection systems require video to be segmented in to objects. A large number of video object seg...

 Traffic Event Detection using Computer Vision

 Abstract: To make sure that the vehicles on road follow traffic rules, lane disciplines and traffic signals, it takes a lot of human effort and precious time. An automated system which is coupled with traffic camer...

Download PDF file
  • EP ID EP112554
  • DOI -
  • Views 123
  • Downloads 0

How To Cite

Anil Kumar Gupta, Fayaz Ahmad Khan (2016). An Efficient Test Data Generation Approach for Unit Testing. IOSR Journals (IOSR Journal of Computer Engineering), 18(4), 97-107. https://europub.co.uk/articles/-A-112554