20:520 -77,-;.. ,,..11 .111 CP!I ;es.myplace.strath.ac.ukAssignment 3Structural Test Data Generation Exercise0 •This piece of coursework is based around the problem of using search-based strategies to automatically generate test data to achieve a level of coverage (in this exercise we will focus on statement coverage). The exercise is based around two methods included at the end of this page: one which takes integer inputs and the other which manipulates a string. It is strong recommended that you tackle the first problem before moving onto the second.The main challenge with this problem is that unlike the other situations we have explored where all the necessary data was available in a file, here the GA needs to interact with the program under test and execute it to establish the fitness values of the population. So the program under test needs to be instrumented (have code inserted) to gain feedback on which parts of the program it has executed and thereby provide the data which will will feed into the fitness function. For the purposes of this exercise this instrumentation can take place by hand. A further complication is that to work effectively the GA needs to evolve data for just one “target” – a particular point in the program it is trying to reach -and to test the how program means identifying and evolving data for several targets. So as you can see it is quite an awkward (but very real) problem.
- Assignment status: Already Solved By Our Experts
- (USA, AUS, UK & CA PhD. Writers)
- CLICK HERE TO GET A PROFESSIONAL WRITER TO WORK ON THIS PAPER AND OTHER SIMILAR PAPERS, GET A NON PLAGIARIZED PAPER FROM OUR EXPERTS