Font Size: a A A

Research And Realization Of Software Test Cases Generated Automatically Based On Artificial Bee Colony Algorithm

Posted on:2018-11-16Degree:MasterType:Thesis
Country:ChinaCandidate:L Y LiFull Text:PDF
GTID:2348330542468012Subject:Engineering
Abstract/Summary:PDF Full Text Request
Along with the rapidly development of information technology,the computer software industry is on the rise,the software has been widely used in all areas of social life.Now the user is demanding more and more for the high quality of software products,testing continues throughout the development cycle and becomes increasingly critical in software development.In the software testing technology,the automated generation of test cases not only saves a lot of manpower and resources,and more importantly,it saves software testing time and shortens the software development cycle.The research of automatic generation of test cases has become a hot topic in the industry.ABC(Artificial bee colony algorithm)has comparative advantages in the optimization of complex problems for its less control parameters,fast convergence and robustness.It has been widely used in many science and engineering fields.The application of artificial bee colony algorithm to the automatic generation of software test cases can greatly improve the generation efficiency of test cases,effectively reduce the labor intensity of testers,and reduce the cost of software development.This paper first introduces the related technical foundation of software testing technology and artificial bee colony algorithm.Then based on the automatic generation framework of common test cases,a novel algorithm framework of automatic generation of test cases based on artificial bee colony algorithm is proposed and designed.According to the framework,an automatic generation system model of software test cases based on artificial bee colony algorithm is built.The system model includes three modules: program analysis,test drive,and algorithm execution.In order to better verify the applicability and efficiency of artificial bee colony algorithm on automatic generation of test cases,in this paper,the genetic algorithm is also used for the comparison.The triangle classification program and other three test cases(Equals function,LuhnCheck function,Selenium-based UI module test)are designed and compared respectively.The experimental results show that the automatic test technology of software test cases based on artificial bee colony algorithm has obvious advantages in terms of target path coverage,population evolution algebra,and program running time.Artificial bee colony algorithm for test case automatic generation technology has applicability and higher efficiency.
Keywords/Search Tags:Software testing technology, Artificial colony algorithm, Test case, Insert the pile
PDF Full Text Request
Related items