• DocumentCode
    2410655
  • Title

    A testing methodology for a dataflow based visual programming language

  • Author

    Karam, Marcel R. ; Smedley, T.J.

  • Author_Institution
    Dalhousie Univ., Halifax, NS, Canada
  • fYear
    2001
  • fDate
    2001
  • Firstpage
    280
  • Lastpage
    287
  • 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
  • Keywords
    data flow computing; parallel languages; program testing; visual languages; visual programming; Prograph; abstract model; code-based testing; dataflow programs; error detection; program testing; test adequacy criteria; testability; visual programming languages; Argon; Assembly; Computer languages; Engines; Flow graphs; Packaging; Programming profession; Testing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Human-Centric Computing Languages and Environments, 2001. Proceedings IEEE Symposia on
  • Conference_Location
    Stresa
  • Print_ISBN
    0-7803-7198-4
  • Type

    conf

  • DOI
    10.1109/HCC.2001.995275
  • Filename
    995275