Font Size: a A A

Research Of Test Model Based On XP

Posted on:2011-06-19Degree:MasterType:Thesis
Country:ChinaCandidate:J QinFull Text:PDF
GTID:2178360302497514Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
In recent years, with our increasing requirement for software products, the type and quantity of software products are increasing unimaginable. Diversity, individuation and changeability of users' requirements are the characteristics of this today's software development. In this case, the traditional software development management theories are not suitable for such situation. Software development organizations have an urgent need to set up a software engineering method that based on the actual situation with the software development process which should be maneuverable, and more effective. In 90s later 20th century, a number of software engineering experts proposed the "agile software engineering" concept, according to the amount of software engineering documents, it was called "agile software development methods" or "light approach" (Lightweight Methodologies), while the traditional software engineering approach was called "heavy approach" (Heavyweight Methodologies). Now, Extreme Programming (Extreme Programming, XP) is the most popular agile methods. Extreme Programming changed the traditional development model, such as the waterfall model, incremental models, it based on test to driven development process. Therefore, the traditional testing model such as the X model, H models become not applicable, we need a new test model for test driven development.In this article, based on the study of Extreme Programming development process and software testing, we analysis the traditional testing method in the XP environment, point that the traditional software testing model is not suit for XP, and there is not a special testing model for XP through the whole development cycle. Based on the XP development thought and the merit of the traditional testing model, We proposed a software testing model called TDDTM (Test Driven Development Test Model) for the whole development cycle, expounded its principles, and described in detail. TDDTM test model incorporates test-driven ideas into all phases of software development cycle, which means each phase in the development is driven by the design of test cases. And used the inheritance and refinement mechanisms for test case. Which means the lower phase test case is inherited and refinement from the higher phase test case. The model consists of development iteration and testing iteration, is a top-down micro-increment model with four phases from acceptance test to unit test. It is used test driven in the every development phase, use test cases to direct the development. Additional, it add independent testing in the in the integration phase and the unit phase to find the internal logical mistakes to increase the error detection rate. In regression phase, it use RTSM algorithm to define the regression testing scope to reduce the test cost. At last, Through "On-line B2C system "in practice, we compared the test results with the traditional XP test process and analyzed the advantages of using our model to support XP development model.
Keywords/Search Tags:Extreme programming, testing model, test driving
PDF Full Text Request
Related items