{"title":"为测试基于组件的Web应用程序生成测试用例的方法","authors":"Huai-kou Miao, Shengbo Chen, Huanzhou Liu, Zhong-sheng Qian","doi":"10.1109/IITA.2007.54","DOIUrl":null,"url":null,"abstract":"Borrowing the thoughts of component interaction, the concept of Logic Component (LC) is proposed, and a Web application is divided into LCs which is mapped into the actual physical components finally. This paper supposes that each component and LC is a black box which has been well tested. So Web applications can be regarded as a set of interactive components. It mainly concentrates on testing the interactions of components. An automaton is used to model each component, and compositions of automata are used to model the component interaction. For each component-test- sequence, a new automaton can be got by using composition of automata. Abstract test cases can be generated from the new automaton. By means of mapping the actions to the actual operations and adding the data of test space to them, the component test cases are generated.","PeriodicalId":191218,"journal":{"name":"Workshop on Intelligent Information Technology Application (IITA 2007)","volume":"13 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2007-12-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"12","resultStr":"{\"title\":\"An Approach to Generating Test Cases for Testing Component-based Web Applications\",\"authors\":\"Huai-kou Miao, Shengbo Chen, Huanzhou Liu, Zhong-sheng Qian\",\"doi\":\"10.1109/IITA.2007.54\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Borrowing the thoughts of component interaction, the concept of Logic Component (LC) is proposed, and a Web application is divided into LCs which is mapped into the actual physical components finally. This paper supposes that each component and LC is a black box which has been well tested. So Web applications can be regarded as a set of interactive components. It mainly concentrates on testing the interactions of components. An automaton is used to model each component, and compositions of automata are used to model the component interaction. For each component-test- sequence, a new automaton can be got by using composition of automata. Abstract test cases can be generated from the new automaton. By means of mapping the actions to the actual operations and adding the data of test space to them, the component test cases are generated.\",\"PeriodicalId\":191218,\"journal\":{\"name\":\"Workshop on Intelligent Information Technology Application (IITA 2007)\",\"volume\":\"13 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2007-12-02\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"12\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Workshop on Intelligent Information Technology Application (IITA 2007)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/IITA.2007.54\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Workshop on Intelligent Information Technology Application (IITA 2007)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/IITA.2007.54","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
An Approach to Generating Test Cases for Testing Component-based Web Applications
Borrowing the thoughts of component interaction, the concept of Logic Component (LC) is proposed, and a Web application is divided into LCs which is mapped into the actual physical components finally. This paper supposes that each component and LC is a black box which has been well tested. So Web applications can be regarded as a set of interactive components. It mainly concentrates on testing the interactions of components. An automaton is used to model each component, and compositions of automata are used to model the component interaction. For each component-test- sequence, a new automaton can be got by using composition of automata. Abstract test cases can be generated from the new automaton. By means of mapping the actions to the actual operations and adding the data of test space to them, the component test cases are generated.