User | Kudos |
---|---|
13 | |
11 | |
3 | |
3 | |
3 |
Searched briefly but couldn't find any ideas about this.
I know we have the ability #via_ignore comments to ignore specific tests for a specific VI, but I am looking at a different use case.
Here's the use case, I use DQMH. When you create a new DQMH module there is a lot of plumbing code that comes with it. It's standard stuff. Very rarely do I have to open or edit it. Much of it is scripting generated. It often fails tests but I don't care. In addition to failing, it takes up test time, which slows my feedback loop. I would a way to signal to VI analyzer to skip these files. I know I can use the VIAN API to limit the files it checks, but I was thinking there had to be a better way.
Implementation Ideas - I had 2 main ideas
- Regex matching on VI names - with the regex pulled out of a text file somewhere ala gitignore. Many of the DQMH generated VIs have standard names, so that is easy. When generating events, they don't but you could easily add a prefix/suffix or something that the regex would pick up.
- Using the Tag API to tag the VI. I like this because the scripting can just apply the tag or apply it to the template the scripter uses. Downside is: kind of hidden from the user and perhaps if I decide to make some edits to this VI I may want VIAN to stop ignoring it and it's not immediately obvious how to do that.
Note:
I picked the Execution and Performance Label because it didn't seem to fit any of the labels easily. If this is the wrong label and you are an admin, please relabel it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.