Font Size: a A A

Research And Application Of TDD Based On .NET

Posted on:2007-02-27Degree:MasterType:Thesis
Country:ChinaCandidate:D H HouFull Text:PDF
GTID:2178360212457553Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
Test-driven development is a predictable method of software development. It is an important manifestation of agile thinking, and the core technology of Extreme Programming. It is not only widely used in XP, but also applicable to other development methods and processes. Test-driven development takes testing as the key point of the design and development process, and promotes the software development process by ceaseless testing activities. The code becomes so simple, clear and robust, meanwhile programming turns to be easy for design, coding, reading, understanding, and maintenance. In a word, software quality has improved significantly. In recent years, test-driven development has been widely used for its high efficiency and reliability.Test-driven development requires programmers finish those testing ahead of completing any functional code. That means programmers have to start with the software testing design process, and then finish it before start to code. The software developer can verify and deduce the design from the view of software testing point. At the same time, test-driven development makes the software development process to be a "small step to move on quickly" process by considering the software testing design document as the criterion to verify the program effectively and to provide real-time verification of the correctness of code. This paper introduces the principle, characteristics and essence of test-driven development, shows the main differences between test-driven development and other development methods, and still mentions the significance of test-driven development. And have analyzed the feasibility of test-driven development and the main issues need to be resolved according to a specific test-driven development practice in .NET.Based on the application of test-driven development in the practical projects, this paper focuses on how to apply the NUnit testing framework into test-driven development in .NET, and what is the advantage and shortcoming of applying test-driven development. This paper integrates MVC pattern with Mock objects technology and introduces the web testing model to resolve the technical difficulties (such as GUI, Web interacting).
Keywords/Search Tags:Test-Driven Development, Refactor, Design Pattern
PDF Full Text Request
Related items