The Practice of E-Government Based on Test Driven Development

Author
ZhangZuoLiang
Advisor
XueLiFang , LeJiaJin
School
Donghua University
Major
Computer Software and Theory
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2009
Downloads
55
Citations
0

Request the full text

Abstract

With the globalization of economic and the rapid development of science and technology,new features in software development are emerging.Otherwise,because the competition in the market is so strong,the software requirements are often changed and the software should be developed with fast-paced.Therefore,the agile software development called light weight software process appears,compared with heavy weight software process.Agile software development is the capability of rapid software development while facing a rapidly changing requirement.Extreme programming is one of the most famous agile software developments, consists of a series of simple and interdependent practice.As one of the extreme programming core practice,test driven development also reflects the second value manifesto of agile software development,which is working software over comprehensive documentation.In the test driven development,the unit test is the center,so the test for defining product code behavior should be programmed,before programming every product code.At the same time,the programmed product code should pass the unit test.The unit tests can be executed completely automated in test drive development,which also should be executed before or after the reconstruction.Based on the realization of Shanghai civilian management information system integration and application,this paper researches on how to apply test driven development in e-government system effectively.Shanghai civilian management information system project,is a systems engineering service for the organizational and public departments,in which some more mature or even leading information technology are adopted in the world,such as:application development and deployment approach based on lightweight container architectonic,and so on. Lightweight container is not binding with J2EE,so it can run in the WEB container and a standard application as well,even it can run in the EJB container.Moreover,it is also not binding with Servlet API.The cost of start up lightweight container is very little,does not need any EJB deployment steps.With these features of lightweight container,as one of the core of test driven development,the unit test can be programmed and implemented.This paper mainly studies on the implementation approach of test driven development and the unit test in lightweight container architectonic,and the unit test implementation rules.The influence of test driven development on software development process result also is researched in this paper.The mainly research achievement in this paper is,for applying test driven development in e-government system effectively,which can be extended to most of B/S three tier structure based on lightweight container architectonic.Such as:extracting business logic related with data access object(DAO) pattern separation and database operation from business logic codes,implementing the unit test of those codes and the executed repeatability. Code generator was implemented for DAO pattern codes,it implements the semi-automatization of the DAO pattern codes and the related unit tests,and reduces the repeated coding work and improves the development efficiency.

Table of contents

Abstract 5-7 ABSTRACT 7-11 first chapter 11-20 1.1 Background 11-15 1.1.1 subject sources 12-13 1.1.2 Agile Software Development 13-15 1.2 research 15-17 1.2.1 Test Driven Development 16 1.2.2 unit test 16 1.2.3 unit tests achieve lightweight container architecture 16-17 1.2.4 lightweight container Spring dependency injection mechanism 17 1.2.5 Test Driven Development software development process 17 1.3 Research Significance 17-18 1.4 This article organizational structure 18-20 Chapter II test-driven development, and its two core elements 20-44 2.1 test-driven development 20-26 2.1.1 the Fibonacci number column function instance 21-23 2.1.2 steps 23-24 2.1.3 method 24 2.1.4 practice guidelines 24-25 2.1.5 to software development benefits 25-26 2.1.6 has the advantage in the software development process 26 2.2 unit test 26-40 2.2.1 concept 26-28 2.2.2 unit testing framework 28-30 2.2.3 unit testing framework in the Java language to achieve JUnit 30-37 2.2.4 Best Practice 37-40 2.3 Test Driven Development software development process 40-44 2.3.1 Extreme Programming 40-42 2.3.2 object-oriented software development process 42-44 unit tests achieve lightweight container architecture 44-62 3.1 J2EE system structure 44-45 3.2 lightweight container architecture 45-47 3.3 DAO mode 47-51 3.3.1 DAO pattern class structure 48-49 3.3.2 DAO mode base class 49-51 3.4 Spring inversion of control mechanism to use 51-52 3.5 unit testing implementations 52-62 3.5.1 User Registration basic functions described 52-53 3.5.2 WebWork realization 53-54 3.5.3 WebWork unit test 54-56 3.5.4 DAO mode unit test 56-62 Chapter of e-government systems practice 62-73 4.1 personnel management function module 62-63 4.1.1 Description 62 4.1.2 system execution flow 62-63 4.2 test-driven development process 63-73 4.2.1 demand analysis 63-64 4.2.2 The main design 64-65 4.2.3 achieve 65-73 Chapter Summary and Outlook 73-75 5.1 summarizes 73-74 5.2 Looking 74-75 the References 75-77 the author to participate in the project during the master's degree, and published papers 77-78 Acknowledgements 78

Related dissertations

  1. Analysis and Design of Municipal Educational E-government Platform
  2. The Design and Implement of the Declaration and Approval of the E-government System
  3. Design and Implementation of Online Approval System
    WangChengLi ·Ocean University of China ·2012 ·Master's thesis
  4. Design and Implementation of the E-government System of the Administrative Regional Integration
    ChenDi ·Xiamen University ·2014 ·Master's thesis
  5. Study on Optimization of Service-oriented Taxation in the Context of E-government
    LiXing ·Central China Normal University ·2012 ·Master's thesis
  6. Design and Implementation of a Supply Chain System for Manufactural Enterprise
    ZhangZhiYou ·Northeastern University ·2011 ·Master's thesis
  7. Research in Gansu Province Quality Supervision Bureau as an Example of Quality Supervision System, Management Process Reengineering in China
    WangXiaoYan ·Lanzhou University ·2013 ·Master's thesis
  8. Design and Implementation of Dynamic Monitoring System for Budget Enforcement Based on J2EE
    WangZhiJun ·Xiamen University ·2014 ·Master's thesis
  9. Integrated ERP Credit Control System
  10. The Construction Scheme of Shanghai XX Government Portals Website
    LiYuanZuo ·Shanghai Jiaotong University ·2011 ·Master's thesis
  11. The Research in Unified Management Platform of Government Websites Cluster
    HuJianBang ·Hunan University ·2012 ·Master's thesis
  12. The Design and Implement of Video Sharing Website Based on Face Tracking
    ZengXuHua ·Sun Yat-sen University ·2012 ·Master's thesis
  13. The Design and Implementation of the Campus Network Management System of Transport Management Institute Ministry
  14. Design and Implementation of Silk Marketing Network Management System for E-government
  15. A Design and Development of Operation and Maintenance System for Zhejiang Social Security Center
    HeMingTao ·Zhejiang University of Technology ·2013 ·Master's thesis
  16. The Design and Implementation of CA Safe Authentication System Core Functions in E-government
  17. Design and Implementation of Huafeng Company Integrated Office System
  18. FCA-based E-Government System Modeling and Prototyping System Implementation
  19. Design and Implementation of a Enterprise Search Platform
    LiXiaoDong ·Northeastern University ·2012 ·Master's thesis
  20. The Research and Implementation of Information Management System Intergrated the Composite SSH2Frame