Abstract :
Abstract — Automated Test Data Generation (ATDG) is an
activity that in the course of software testing automatically
generates test data for the software under test (SUT). It
usually makes the testing more efficient and cost effective.
Test Data Generation (TDG) is crucial for software testing
because test data is one of the key factors for determining the
quality of any software test during its execution. The multiphased
activity of ATDG involves various techniques for
each of its phases.
Today testing is done manually by most of the industry due
to high cost and complexity of automation. Automated testing
can reduce the cost of software significantly. Automated
Software Test Data Generation is an activity that in the
course of software testing automatically generates test data
for the software under test. Most of the automated test data
generation uses constraint solver to generate test data. But it
cannot generate test data when the constraints are not
solvable. Although method can be found to generate test data
even if the constraints are unsolvable, but it is poor in terms
of code coverage. Automated testing is a good way, to cut
down time and cost of software development. It is seen that
for large software projects 40% to 70% of development time
is spent on testing. Therefore automation is very much
necessary. Test automation is a process of writing computer
programs that can generate test cases, or else test cases need
to be generated manually. Automated testing save time,
money. In this paper, we propose a test data generation
method as our aim is to improve test coverage and to avoid
the unsolvable constraint problem. Our method is based on
the individual constraints, and same or dependent variable to
create the path table which holds the information about the
path traversed by various input test data. We have
implemented this method and shown alongwith also sample
program. The result is generated in the form of table of test
cases and cause –effect graph.