Font Size: a A A

Research On Test Case Allocation And Selection Method Based On Running Profile

Posted on:2021-01-28Degree:MasterType:Thesis
Country:ChinaCandidate:Y C WangFull Text:PDF
GTID:2438330626454093Subject:Computer technology
Abstract/Summary:PDF Full Text Request
Considering the complexity of the software system structure and the expansion of the software scale,how to ensure the reliability of the software system has become an urgent task.The study of software reliability has been paid more and more attention by people.Software testing is the most important method to improve software reliability.Among software testing methods,operational profile-based testing is a test method that is mainly used.It distributes the test work according to the software operational profile,mainly focusing on those functions that are most used in common practice.Removing these defects can greatly improve the reliability of the software.In addition,operational profile-based testing can also be used to evaluate and predict the reliability level of the software and verify whether the software product meets the user's reliability requirements.It is one of the most effective methods in the field of software reliability.Nowadays,computer software has applied into many key fields,such as national security,public transportation,aerospace and medical systems.Different from other industries,the reliability and safety of software in these areas has higher requirements.Considering that these software have already reached a high level of reliability,when it needs to reach a even higher level,the efficiency of the test can be reduced,and the test needs to focus on those faults that are less likely to happen.Therefore,operational profile-based testing does not apply to those software systems where faults that are very likely to happen have been already removed,while still requiring higher reliability.As for the shortcomings of the operational profile-based testing,this paper proposes a method for allocating and selecting test cases based on the operational profile.It allocates and selects test cases based on the operational profile of the software,and divides the whole test into two parts,the allocation of test cases and the selection of test cases.In the test case allocation stage,the operational profile-based testing and importance sampling method are combined to form an adaptive test method,which can change the proportion of assigned test cases in each part in every iteration test dynamically.In the test case selection stage,this paper provides two selection methods,one is based on the RHC sampling method and the other is an adaptive method based on program coverage spectrum.The RHC sampling method is simple to operate and implement,but the effect is not so good.The adaptive test method requires collecting information of program coverage spectrum before the test.It takes some time,but the effect is better.After the two stages of allocating test cases and selecting test cases,it can select those more efficient test cases to execute in the test so that the effectiveness of the test and the reliability of the software can be improved.Finally,in order to verify the effectiveness of the improved adaptive testing method proposed in this paper,two sets of experiments were designed accordingly.The results show that the improved adaptive testing method can improve software reliability effectively to some extent.
Keywords/Search Tags:operational profile, software reliability, test case allocation, test case selection, program coverage spectrum
PDF Full Text Request
Related items