摘 要
随着计算机网络技术的飞速发展,B/S结构已经逐渐取代C/S结构成为开发管理信息系统的基础结构,ASP作为Web应用程序的开发技术也为更多的人所采用。
本文主要论述一个在线选课系统的设计与开发以及对其进行的测试分析。文章首先介绍了基于瘦客户机的浏览器/服务器(Browser/Server)结构,介绍了MS Access 2003+ Dreamweaver MX 2004开发平台,JSP、PHP、ASP三种Web开发技术,对各自的优缺点进行了比较和分析,并最终选择了ASP技术。然后阐述了此在线选课系统的概要设计部分和详细设计部分,其中详细设计部分包括后台数据库设计、系统登录、在线学习、以及在线测试部分详细设计。
在软件测试部分,首先分析了系统可能出现问题的原因,并预计会产生哪些错误,提出了测试方案;然后详细讨论了对该在线选课系统进行的三种类型的测试:单元测试、增量型的集成测试以及兼容性测试,分析了错误的原因提出了解决办法;最后对测试工作进行了总结。
关键词:B/S结构、ASP、数据库、单元测试、集成测试、兼容性测试
Abstract
With the rapid development of computer network technology,the B/S model has gradually replaced C/S model。 The ASP technique has been used more popularly in the exploitation of Web application。
This paper mostly choose course how to design and exploit a library management system and make testing analyses toward it。 This article firstly introduces the B/S model which is based on the thin- client, and then introduces MS Access 2003+ Dreamweaver MX 2004 design platform。 Then the article gives introduction of three most popular techniques JSP, PHP, ASP, and compares the advantages and disadvantages among them in detail, an choose ASP technique at last。 And then, the article respectively expatiates the schematic design part and detailed design part。 It contains background database design, system log-in module design, books query module design, books borrow and return module design。
In the software tests part, the article firstly analyses the causation of the problems which could exist in the system and forecasts the errors which are in it to makes the tests scheme。 Then the article bats around the three types tests which made for this system: unit tests, increasing COM positive tests and compatibility tests, analyses the reasons about the errors and then puts forward the resolvents。 Make a summarization for the testing work。