Font Size: a A A

Research And Application Of Regression Testing Method For Industrial Communication Protocol Based On Multi-objective

Posted on:2023-04-16Degree:MasterType:Thesis
Country:ChinaCandidate:D X YangFull Text:PDF
GTID:2568307031488724Subject:Control engineering
Abstract/Summary:
In recent years,as industrial communication protocols have become more widely used in everyday life,protocol implementations have needed to be modified to varying degrees to accommodate the ever-changing requirements.Each time the protocol stack code is modified,regression testing is required to ensure that the stack functionality is not affected.However,as the complexity of protocol stack functionality increases,the cost and security of regression testing is becoming increasingly important.Therefore,in order to reduce the execution time of industrial communication protocol regression tests while ensuring the fault detection rate of regression tests and improving test security,this thesis proposes a multi-objective-based regression testing method for industrial communication protocols and designs an industrial communication protocol regression testing tool to apply the testing method.The main research elements of this thesis are as follows:Firstly,based on the analysis of regression testing methods based on all retesting,this thesis proposes a multi-objective-based regression testing method for industrial communication protocols based on improving the average fault detection rate of regression testing,error discovery efficiency and reducing effective execution time as the optimization objectives.This method adds test case optimization technology to the traditional regression testing process.Secondly,this thesis designs a regression test case prioritization optimization technique for industrial communication protocols.The technique first uses a multi-objective based improved grey wolf algorithm to rank the test cases to generate an initial test execution sequence.Then a table of dependencies between test cases for different protocols is developed using industrial communication protocol test standard specifications.The failure association rules between test cases are then determined through data mining techniques.Finally,executing the test cases in the initial sequence,if the test case fails,the test cases that have dependency or association rules with the failed test case are executed first.Finally,this thesis designs and implements a regression testing tool for industrial communication protocols.The general architecture of the testing tool is firstly designed,and then its specific modules including: sequence generation based on grey wolf optimization and test case sequencing based on dynamic adjustment are described in detail.Finally,by building a WIA-PA protocol physical test environment,the test tool is verified for functionality.By comparing with other algorithms,the performance of the regression testing method is analyzed.The experimental results show that the test tool is capable of regression testing of industrial communication protocols and this regression testing method can effectively improve the average fault detection rate,error detection efficiency and shorten the effective execution time.
Keywords/Search Tags:industrial communication protocol, regression testing method, multiobjective optimization, test case optimization technology
Related items