Jump to content


Photo
- - - - -

What I really wish I knew before using VI Tester

help beginners VIT

  • Please log in to reply
No replies to this topic

#1 dpnsw

dpnsw
  • Members
  • 6 posts

Posted 06 July 2015 - 12:34 PM

There are a number of items that are not adequately covered in the documentation OR (in the case of the video) actually show you the wrong way to do things.

 

This is not intentional on JKI's part but rather the result of improvements to the VI Tester which didn't get added to the pinned getting started stuff.

 

Important things to be aware of (tested with LabVIEW 2014 32 bit):

 

*) Don't copy the testExample.vit as per the video as you won't be able to see your tests EVER! The .vit is a template file and the VI Tester ignores all templates. You need to right click on the testExample.vit and select "New from template" and save your VI starting with the word test and ending with .vi (not.vit) eg. test-anything.vi

 

Rob Calhoun also makes the following important points in this post

 

  • Test Cases that do not have any test methods do not appear in VI Tester hierarchy. (Maybe this is a feature, but it's not what I would expect.)
  • After creating and saving a new test method the Test Case still does not appear in the VI Tester hierarchy. This is because the Test Case (class) has not been saved, so it still has no test methods from the point of the VI Tester
  • Only test methods that start with the word "test" (at least this appears to be case-insensitive) are considered test methods.

  • 1