How do you test visual programing languages? - eviltoast

So how do you guys test visual programming languages? These languages include Labview, Simulink, Snaplogic, Slang, etc. I ask because I’m working on improving the testing suite we use at my job for Snaplogic. The way we currently lest is we have a suite of pipelines that have certain snaps and we just run those pipelines and look for errors in a testing environment every release.

What I’m really trying to figure out is how to run Functional Tests (unit, integration, system) and Non-Functional Tests (security, performance). In a language such as Python this can be straight forward but in a visual language or a service offered by another company then it is a bit more difficult.

I am thinking of creating a custom test suite using the modules used in our pipelines and using Python to generate JSON and SQL data. Does anyone do something similar?

  • brisk@aussie.zone
    link
    fedilink
    arrow-up
    12
    ·
    5 months ago

    Simulink has a concept called Test Harnesses which are models that isolate individual blocks for testing. The tests themselves are then driven programmatically from MATLAB