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

Comparative Analysis of Computational Intelligence Paradigms in WSN: Review

Abstract: Computational Intelligence is the study of the design of intelligent agents. An agent is something that react according to an environment—it does something. Agents includes worms, dogs, thermostats, airplanes,...

 Reduce the False Positive and False Negative from Real Trafficwith Intrusion Detection in Zigbee Wireless Networks

 Abstract: Denial-of-Service attack in particular is a threat to zigbee wireless networks. It is an attack in whichthe primary goal is to deny the legitimate users access to the resources. A node is prevented from r...

 Implementation of Novel Algorithm (SPruning Algorithm)

 Abstract: Decision trees are very significant for taking any type of verdict related to any field. Today there is ample amount of data but that data is uncooked data therefore to make it cooked data, data mining is...

 Machine Learning Application for Stock Market Prices Prediction.

Abstract: The development of a vibrant application for analyzing and predicting stock market prices is a basic tool aimed at increasing the rate of investors’ interest in stock markets. This paper explains the developmen...

 Minimization of Side Effects of Knowledge Hiding Based On Association Rule Mining

 Abstract: Privacy is very important in Data Mining. Association rule mining, is a important technique, has already been applied in a wide range of areas. Large databases cannot be secured by encryption or other tec...

Download PDF file
  • EP ID EP112554
  • DOI -
  • Views 100
  • 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