Font Size: a A A

Research On Mixed Test Scheduling Criteria For Event - Driven

Posted on:2016-08-19Degree:MasterType:Thesis
Country:ChinaCandidate:S D ZhangFull Text:PDF
GTID:2208330461985618Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
Event-Driven Software is an important member of software. GUI and WEB are widely used in many fields. The testing of GUI and WEB is an active area. GUI and WEB pose a challenge of testing because of the huge test suite and the cost restriction of the testing. One of the solution is to order the test suite. Order the test suite by the certain test prioritization strategy can maximize the efficiency of the testing, avoid the insufficiency of testing which is caused by the limit of time and cost.This paper summarizes the similarity of the back-end code of GUI software and Web software, put these event-driven software study together. This paper starts with the events of the test case, get the call path through the event entry and then get the methods which are covered by the test case. Using the frequency of the methods appear in the test case and the cyclomatic complexity of the methods as prioritization basises, this paper proposes one single test prioritization strategy APSF and two kinds of mixture test prioritization strategies for GUI testing and WEB testing. APSF prioritize test suites by the frequency of the appearance of the methods in the test suite and the cyclomatic complexity of the methods. The two mixture strategies use multiple single strategies together to improve the fault detection rate. WFFB prioritize test suites by the frequency of the appearance of the methods and the cyclomatic complexity of the methods. APSF-WF divide the test suite into two quarters by the sum of the cyclomatic complexity of the test case. Then APSF prioritize the test case with low cyclomatic complexity and WF prioritize the test case with high cyclomatic complexity.At last, evaluates these strategies through an experiment with APFD. The empirical study reveals that mixture strategies can improve the fault detection rate. Beacuse of APSF-WF is mixed with only two single strategies, the priority between the single strategies do not have significant effect. The threshold value has a strong effect to the effectiveness of APSF-WF. The cyclomatic complexity of the test case in test suite is a important factor to choose the threshold value.
Keywords/Search Tags:test suite prioritization, cyclomatic complexity, java, software testing, software bugs, call graph
PDF Full Text Request
Related items