{"title":"一种基于数据流的可视化编程语言的测试方法","authors":"M. Karam, Trevor J. Smedley","doi":"10.1109/HCC.2001.995275","DOIUrl":null,"url":null,"abstract":"Dataflow based visual programming languages have become an important topic of research in recent years, yielding a variety of research systems and commercial applications. As with any programming language, visual or textual, dataflow programs may contain faults. Thus, to ensure the coma functioning of dataflow programs, and increase confidence in the quality of these programs, testing is required. Despite this valid observation, we find that the casting criteria found in the literature mainly addressed imperative, declarative, and form-based languages. However, we did not find any discussion that specifically addressed testing criteria for dataflow programs. In this paper, we investigate, from a testing perspective, differences between dataflow and imperative languages. The results reveal opportunities for adapting code-based control-flow testing criteria to test dataflow languages. We show that our proposed testing methodology is well suited for dataflow programs. In particular, the \"all-branches\" criterion provides important error detection ability, and can be applied to dataflow programs. We implemented a testing system that allows users to visually and empirically investigate the testability of programs written in the visual programming language Prograph. Our empirical results confirm that, analogous to imperative languages, the all-branches criterion cannot detect all the errors in a dataflow program. Thus, to catch those undetected errors, more rigorous testing should be applied.","PeriodicalId":438014,"journal":{"name":"Proceedings IEEE Symposia on Human-Centric Computing Languages and Environments (Cat. No.01TH8587)","volume":"158 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2001-09-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"19","resultStr":"{\"title\":\"A testing methodology for a dataflow based visual programming language\",\"authors\":\"M. Karam, Trevor J. Smedley\",\"doi\":\"10.1109/HCC.2001.995275\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Dataflow based visual programming languages have become an important topic of research in recent years, yielding a variety of research systems and commercial applications. As with any programming language, visual or textual, dataflow programs may contain faults. Thus, to ensure the coma functioning of dataflow programs, and increase confidence in the quality of these programs, testing is required. Despite this valid observation, we find that the casting criteria found in the literature mainly addressed imperative, declarative, and form-based languages. However, we did not find any discussion that specifically addressed testing criteria for dataflow programs. In this paper, we investigate, from a testing perspective, differences between dataflow and imperative languages. The results reveal opportunities for adapting code-based control-flow testing criteria to test dataflow languages. We show that our proposed testing methodology is well suited for dataflow programs. In particular, the \\\"all-branches\\\" criterion provides important error detection ability, and can be applied to dataflow programs. We implemented a testing system that allows users to visually and empirically investigate the testability of programs written in the visual programming language Prograph. Our empirical results confirm that, analogous to imperative languages, the all-branches criterion cannot detect all the errors in a dataflow program. Thus, to catch those undetected errors, more rigorous testing should be applied.\",\"PeriodicalId\":438014,\"journal\":{\"name\":\"Proceedings IEEE Symposia on Human-Centric Computing Languages and Environments (Cat. No.01TH8587)\",\"volume\":\"158 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2001-09-05\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"19\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Proceedings IEEE Symposia on Human-Centric Computing Languages and Environments (Cat. No.01TH8587)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/HCC.2001.995275\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings IEEE Symposia on Human-Centric Computing Languages and Environments (Cat. No.01TH8587)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/HCC.2001.995275","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
A testing methodology for a dataflow based visual programming language
Dataflow based visual programming languages have become an important topic of research in recent years, yielding a variety of research systems and commercial applications. As with any programming language, visual or textual, dataflow programs may contain faults. Thus, to ensure the coma functioning of dataflow programs, and increase confidence in the quality of these programs, testing is required. Despite this valid observation, we find that the casting criteria found in the literature mainly addressed imperative, declarative, and form-based languages. However, we did not find any discussion that specifically addressed testing criteria for dataflow programs. In this paper, we investigate, from a testing perspective, differences between dataflow and imperative languages. The results reveal opportunities for adapting code-based control-flow testing criteria to test dataflow languages. We show that our proposed testing methodology is well suited for dataflow programs. In particular, the "all-branches" criterion provides important error detection ability, and can be applied to dataflow programs. We implemented a testing system that allows users to visually and empirically investigate the testability of programs written in the visual programming language Prograph. Our empirical results confirm that, analogous to imperative languages, the all-branches criterion cannot detect all the errors in a dataflow program. Thus, to catch those undetected errors, more rigorous testing should be applied.