Font Size: a A A

Research On Object-Oriented Software Regression Testing Technique

Posted on:2008-08-26Degree:MasterType:Thesis
Country:ChinaCandidate:H G YuanFull Text:PDF
GTID:2178360215965788Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
Software testing is an important activity in order to insure the correctness of the software, regression testing is a test for the purpose of validating modified software correctness, thus the process of running test case in the regression testing phase is the same as that of running test case in the developing testing phase, only the test case suites are different. Regression testing strategy can be divided into "retest-all" strategy and "selective" strategy, with the accretion of the software scale, "retest-all" is impossible in either cost or time, especially when a little part changes, "retest-all" will waste cost, but changed parts may affect the other unchanged parts, so regression testing must be carried out in selecting proper test case suites.Presently there are many strategy, which put emphasis researches about regression testing on selecting a test case suite as strategy in "selective" possible as small and coverage all of the changed and affected codes.In this paper, we study Harrold and his colleagues about object-oriented JAVA language regression test selection (RTS) technique. This technique calls for analyzing sentence of the whole system to identify the part for testing part. But System changes for large is inefficient. Regarding the problem, this paper presents a new RTS technique. The technique is based on the type of element analysis to identify change classes of which may affect classes. Then use Hanold and his colleagues' s technique to analyze, Finally determine which test cases must rerun.Moreover, to improve confidence of software modification in regression test on condition that not all tests can be executed, we use test cases prioritization. This is based on JIG-based Brach-coverage prioritization technique. The technique not only can lower the rate of choice with cases, cases can use the sequences have a higher error detection capability.At last, we realize a prototype system, which presents a framework for program analysis that can analyze a common program for java language, and is easy to extend to other language.
Keywords/Search Tags:Object-oriented, Software testing, Regression testing, Test selection, Sorting test case
PDF Full Text Request
Related items