Jump to content
Sign in to follow this  
dpnsw

What I really wish I knew before using VI Tester

Recommended Posts

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.
  • Upvote 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use.