{"title":"基于业务流约束从UML活动图生成测试用例","authors":"Walaithip Thanakorncharuwit, Suwatchai Kamonsantiroj, Luepol Pipanmaekaporn","doi":"10.1145/3033288.3033311","DOIUrl":null,"url":null,"abstract":"Test case generation is the most important part of software testing. More than 50 percent of the cost and time are spent on testing the software development. Currently, researchers have used the UML activity for test case generation. However, finding a test case set from an activity diagram is a terrible task. Because the presence of loop and concurrent activities in the activity diagram result in path explosion and practically, it is not feasible to consider all execution paths for testing. In this paper, we proposed a novel approach to generate test cases using a modified DFS with tester specification to avoid the path explosion. Tester specifications follow the business flow constraints. In order to evaluate the quality of test cases, activity coverage, transition coverage, and key path coverage are measured. The proposed approach shows that the result paths of an activity diagram cover both true and false values of loop condition and helps to avoid generating all possible concurrent activity paths as it only returns one representative path.","PeriodicalId":253625,"journal":{"name":"International Conference on Network, Communication and Computing","volume":"10 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2016-12-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"10","resultStr":"{\"title\":\"Generating Test Cases from UML Activity Diagram Based on Business Flow Constraints\",\"authors\":\"Walaithip Thanakorncharuwit, Suwatchai Kamonsantiroj, Luepol Pipanmaekaporn\",\"doi\":\"10.1145/3033288.3033311\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Test case generation is the most important part of software testing. More than 50 percent of the cost and time are spent on testing the software development. Currently, researchers have used the UML activity for test case generation. However, finding a test case set from an activity diagram is a terrible task. Because the presence of loop and concurrent activities in the activity diagram result in path explosion and practically, it is not feasible to consider all execution paths for testing. In this paper, we proposed a novel approach to generate test cases using a modified DFS with tester specification to avoid the path explosion. Tester specifications follow the business flow constraints. In order to evaluate the quality of test cases, activity coverage, transition coverage, and key path coverage are measured. The proposed approach shows that the result paths of an activity diagram cover both true and false values of loop condition and helps to avoid generating all possible concurrent activity paths as it only returns one representative path.\",\"PeriodicalId\":253625,\"journal\":{\"name\":\"International Conference on Network, Communication and Computing\",\"volume\":\"10 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2016-12-17\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"10\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"International Conference on Network, Communication and Computing\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/3033288.3033311\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Conference on Network, Communication and Computing","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3033288.3033311","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Generating Test Cases from UML Activity Diagram Based on Business Flow Constraints
Test case generation is the most important part of software testing. More than 50 percent of the cost and time are spent on testing the software development. Currently, researchers have used the UML activity for test case generation. However, finding a test case set from an activity diagram is a terrible task. Because the presence of loop and concurrent activities in the activity diagram result in path explosion and practically, it is not feasible to consider all execution paths for testing. In this paper, we proposed a novel approach to generate test cases using a modified DFS with tester specification to avoid the path explosion. Tester specifications follow the business flow constraints. In order to evaluate the quality of test cases, activity coverage, transition coverage, and key path coverage are measured. The proposed approach shows that the result paths of an activity diagram cover both true and false values of loop condition and helps to avoid generating all possible concurrent activity paths as it only returns one representative path.