Title :
Generating Test Case from Functional Requirement of Web Applications
Author :
Zhu, Bin ; Miao, Huaikou ; Zeng, Hongwei ; Chen, Shengbo
Author_Institution :
Sch. of Comput. Eng. & Sci., Shanghai Univ., Shanghai, China
Abstract :
E-commerce has been developing rapidly around the world. We run Web application to support e-commerce. Quality of Web applications influences the functionalities and security of e-commerce. Modeling and testing are important to quality of web applications. Many researchers are still to find effective ways to model and test Web applications. Formal methods can improve the quality of Web applications. This paper suggests utilizing a formal language (object-z to) describe functional requirement of Web applications. An approach to generating test sequence is introduced in this paper. We analyze formal specification to find out atomic operations and then identify the environment precondition of the operation (EPRE) for each atomic operation. We use EPREs to build an environment transition graph (ETG). The steps of transforming an ETG into environment transition sequences are also addressed. Two test adequacy criteria are defined as a guideline for the selection of the test sequences.
Keywords :
Internet; electronic commerce; formal specification; e-commerce; environment transition graph; formal language; formal methods; formal specification; functional requirement; quality of Web applications; Application software; Automatic testing; Electronic commerce; Formal specifications; Information management; Information security; Object oriented modeling; Software testing; System testing; Unified modeling language; Object-Z; Web application; test case;
Conference_Titel :
Electronic Commerce and Security, 2009. ISECS '09. Second International Symposium on
Conference_Location :
Nanchang
Print_ISBN :
978-0-7695-3643-9
DOI :
10.1109/ISECS.2009.152