Font Size: a A A

The Application Of Test-Driven Development In TJUL Implementation

Posted on:2008-10-16Degree:MasterType:Thesis
Country:ChinaCandidate:G M LiuFull Text:PDF
GTID:2178360245993106Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
Nowadays , How to develop highly reliable and qualified software system has become a daily concern .Testing is the key to guaranteeing software quality, but developers usually write code before testing. What's worse , Testing is frequently neglected when time is urgent .Recently, a new kind of object-oriented software development ---- Test-Driven Development has been proposed.it enhances testing to a new altitude.It emphasizes writing test codes first, through continual refactoring , we finally get refined code and slight low--defected rate of software system.First, this paper studies further the theory of test-driven development .Then,we put it into practice in TJUL programming language implementation.Given the difficulties of GUI implementation using TDD, this paper adopts a method named simulated-test to construct GUI. At the end , to better assess code's structure ,we make further improvement on some C&K metrics parameters to appraise the effect of this practice from test coverage and code quality measure aspects. From the results, It lived up with most of measure parameters'standard. Because TDD has its own limitations ,we advocate a combination of TDD and traditional design pattern to achieve the advanatages of TDD and let developers accept it more easily.
Keywords/Search Tags:Test-Driven Development, Extreme Programming, Compile, Refactoring
PDF Full Text Request
Related items