{"title":"Research on the Application Technology of Unit Testing Based on Priority","authors":"Feng Gao, G. Yuan, Chun Zheng, Chang Liu","doi":"10.1109/CSO.2011.222","DOIUrl":null,"url":null,"abstract":"A testing strategy was proposed to deal with the parallelism of unit testing based on the priority of function. The influence of parameters, global and local variables on the proper realization of the control flow of function was analyzed in this paper. The quantitive mathematical model of the weight influencing factor was built, and a directed acycline graph with weight was generated by combining the function's control flow chart. Further more, the tested function's critical path was given by the algorithm based on AOE-net. After a test case was done, the hypo-critical path was chosen until the test criterion was guaranteed. The experiment results showed that with a scheduled test time among modules, the software test efficiency was improved achieving the objective of software quality assurance(SQA).","PeriodicalId":210815,"journal":{"name":"2011 Fourth International Joint Conference on Computational Sciences and Optimization","volume":"23 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2011-04-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2011 Fourth International Joint Conference on Computational Sciences and Optimization","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CSO.2011.222","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1
Abstract
A testing strategy was proposed to deal with the parallelism of unit testing based on the priority of function. The influence of parameters, global and local variables on the proper realization of the control flow of function was analyzed in this paper. The quantitive mathematical model of the weight influencing factor was built, and a directed acycline graph with weight was generated by combining the function's control flow chart. Further more, the tested function's critical path was given by the algorithm based on AOE-net. After a test case was done, the hypo-critical path was chosen until the test criterion was guaranteed. The experiment results showed that with a scheduled test time among modules, the software test efficiency was improved achieving the objective of software quality assurance(SQA).