44
How do you test visual programing languages?
(sh.itjust.works)
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Follow the wormhole through a path of communities !webdev@programming.dev
I was actually offered a Bachelor thesis topic by a company to write a test bench for a product in LabView.
From what they told me and my other engineering experience I'd suggest going with an approach similar to what's used with HDLs. For unit tests create test benches in the language itself which call the functions you want to test with a predefined input (e.g. from a file) and then analyse and save the output.
You can extend this to obtaining other information as well, but tbh I'll bet it's still gonna be a pain.
Hope that helps at least a little.