禧徕乐快递管理系统-订单信息管理模块测试用例XI LAI LE Express Management System—Module of Order InformationManagementTest CaseCR项目组V1.0拟制人Writer学号Number批准人____________________Approver____________________二〇一四年五月二日May 02, 2014目录1 引言 (Introduction) (1)1.1 编写目的 (Purpose) (1)1.2 定义(Definitions) (1)1.3 运行环境(Running Environment) (2)1.4 参考文献(References) (2)2 测试(Testing) (2)2.1 测试方法(Testing Method) (2)2.2 测试计划(Testing Plan) (3)2.3 测试时间(Testing Time) (4)2.4 测试模块(Testing Module) (4)2.5 测试准备(Testing Prepare) (4)2.6 测试人员(Tester) (4)3 订单模块测试用例(Order Test Case) (4)4 查询模块测试用例(Query module test case) (8)5 评价测试结果 (Evaluation Test Results) (10)1 引言(Introduction)1.1 编写目的(Purpose)软件测试是软件工程中非常重要的环节,是软件质量的保证。
软件测试是使快递管理系统中的订单信息管理模块更加完善,也使系统进一步优化。
为了更好的满足管理员以及客户的要求,为了管理员以及客户提供更高的服务,因此对订单信息管理模块进行测试。
测试的目的主要是发现模块中存在的缺陷和错误,主要是对本模块的数据库和输入的文本框等进行测试,测试的目的就是在系统投入生产性运行之前,尽可能多的发现软件中的错误。
Software testing is a very important part in software engineering, software quality assurance. Software testing is the order information management module express management system more perfect, but also make the system optimization. In order to better meet the administrator and customer requirement, in order to provide higher service administrator and customer, so the test order information management module. The purpose of the test is mainly found in the module of defects and errors, mainly on the module database and input text box and other tests, the purpose is to test before the system is put into production run, as much as possible to find software errors.1.2 定义(Definitions)订单信息管理模块,主要针对管理员对订单信息的管理,为了使管理员能够更快捷方便的添加、查询、修改、删除订单的信息,确保了输入的信息准确性和安全性,避免由于大量订单需要输入而导致订单信息的输错。
Order information management module, mainly for the administrator to order information management, in order to allow the administrator to more efficient and convenient to add, query, modify, and delete order information, to ensure that the information accuracy and safety input, to avoid because of the large number of orders need to be input in the wrong order information.1.3 运行环境(Running Environment)本项目采用360浏览器/服务器(B/S)模式,360浏览器的程序是以VS2010为开发软件的应用程序,数据库采用SQL Server 2005。
本项目可以在Windows XP,Win7,以及更高版本系统上运行。
The project adopt the Browser/Server (B/S) model, the browser's procedure will use VS2010 as development software application, database using SQL Server 2005. This project can run on Windows XP, Win7, and higher system.1.4 参考文献(References)[1] Elfriede Dustin. 有效软件测试. 北京:清华大学出版社,2003.9[1] Elfriede Dustin. Effective software testing. Beijing: tsinghua university press, 2003.9[2]王辉,来羽,陈德祥. 3.5(C#).清华大学出版社,2011.3[2]Wang Hui, Lai Yu, Chen DeXiang. The 3.5 (C#). Tsinghua university press. 2011.3[3]Abraham Silberschatz,Henry F.Korth,S.Sudarshan.数据库系统概念.第5版.北京:机械工业出版社,2008.6[3]Abraham Silberschatz,Henry F.Korth,S.Sudarshan.Database system concepts. Fifth edition Beijing: Machinery Industry Press, 2008.62 测试(Testing)2.1 测试方法(Testing Method)本系统主要采用了两种测试方法:黑盒法、白盒法。
a)黑盒法:又称功能测试,其测试用例是根据程序的功能说明来设计的。
在应用这种测试法时,测试者完全不考虑程序内部结构和内部特性,把软件看成是一个盒,测试时仅仅关心如何找出使程序不按要求运行的情况,因而测试是在程序进行的。
黑盒法是最基本的测试法,主要测试软件能否满足功能要求。
看输入能否被正确地接收,且能否正确地输出结果。
b)白盒法:又称结构测试法,其测试用例是根据程序内部的逻辑结构来设计的。
用白盒法测试时,从检查程序的逻辑着手,从未学过测试方法的人看来,使程序中每条语句至少招待一次似乎就达到目的了。
这样做可看穷尽路径测试。
穷尽路径测试往往做不到,对于简单的程序即使做到穷尽路径测试,仍不能保证程序无错。
The system uses two methods: black box method, white box method.a) Black-box method: also called function test, the test cases according to the function of the program is designed for that. In the application of this test, the test is not consider program internal structure and internal characteristics, the software as a box of, only care about how to find out when the test that the program does not according to the requirements of operation, and therefore was the test procedures. Black box method is the most basic test method, the main test software you could meet the functional requirements. See input can be correctly receive, and can correctly output.b) White-box method: also known as structural test, the test is based on the logical structure within the program design. White box testing method, the logic to proceed from the inspection procedure, test method had never studied the eyes of the hospitality program at least once in each statement seems to be on target. This will see an exhaustive path testing. Exhaustive path testing is often impossible, even for simple procedures to do exhaustive path testing procedures can not guarantee error-free.2.2 测试计划(Testing Plan)对本单元进行测试,进行黑盒测试,检验能否实现功能。