Font Size: a A A

Study In The Applying Of Test-driven Development Of Expert Selection

Posted on:2016-02-14Degree:MasterType:Thesis
Country:ChinaCandidate:Y T WangFull Text:PDF
GTID:2308330464965774Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
The paper is based on the expert selection module of science and technology project evaluation system of Hebei Province, which is developed with TDD. During the developing period, key technology of TDD is summarized and applied with MVC. And with TDD, expert credibility evaluation system is established, which improves the efficiency and accuracy of expert selection.The main research in this thesis is as follows:First of all, we implemented of the system by using test-driven development. The system was developed under.NET environment using NUnit as a unit testing tool. By using TDD, we analysis the requirement, design the system, write unit test and implement it.Second, we did a research on the key technology of TDD. To apply TDD in MVC, we test the system hierarchically. In this way, the three layers can be developed separated. At the same time, we use design patterns to improve the testability of the system, which also make the code more specification, easy to maintain and expand.Third, we use ATDD as a way to design the system during the requirements analysis phase. Every ATDD test case can be implemented by several UTDD test cases. Combined with ATDD, we change the traditional way of UTDD and improve the efficiency of TDD.At last, we established he expert credibility evaluation system. Based on the election data of several years ago, we analyze the information of the selected experts and calculate the weight of every factor using AHP. Then again use the data to verify if the result if reasonable.
Keywords/Search Tags:Test-driven development, expert selection, NUnit, credit rating, acceptance test-driven, MVC, design patterns
PDF Full Text Request
Related items