Automatic Test Sequence Generation for State Transition Testing via Ant Colony Optimization
Software testing is a key part of software development life cycle. Due to time, cost and other circumstances, exhaustive testing is not feasible, that’s why there is need to automate the testing process. Generation of the automated and effective test suit is a very difficult task in the software testing process. Effective test suite can decrease the overall cost of testing as well as increase the probability of finding defects in software systems. Testing effectiveness can be achieved by the State Transition Testing which is commonly used in, real time, embedded and web-based kind of software system. State transition testing focuses upon the testing of transitions from one state of an object to other states. The tester’s main job is to test all the possible transitions in the system. This chapter proposed an Ant Colony Optimization technique for automated and fully coverage state-transitions in the system. Through proposed algorithm all the transitions are easily traversed at least once in the test-sequence.