Posted 11 August 2009 - 03:58 PM
1. I can right click the template and use "New From Template" instead of going through the rename dialog box. Easier and faster.
2. The testExample unit test doesn't show up as an available test so it isn't executed and my test results aren't all cluttered up.
Changing it to a template does raise an error when I start VI Tester. Any chance of 'officially' changing testExample to a template?
Posted 11 August 2009 - 06:01 PM
Any chance of 'officially' changing testExample to a template?
This is a good idea, we'll look into it further. I think the reason that we shipped the testExample as a .vi instead of .vit is so that users could actually 'execute' the testCase that we create without any modifications to validate that their testCase *works*. Its partly because we weren't sure how much LVOOP experience our users would have so we wanted to minimize the effort for getting started, and that meant making it easy for users to see their testCase on the VI Tester GUI.
The runtime error you are seeing is because the way that we find tests to show on the VI Tester UI is via 'introspection' and it just happens that we're searching for VIs named test*.vi and test*.vit is being found as a 'match'. I've filed a bug for this (Case 7883) and added it to the known issues.
Posted 11 August 2009 - 06:42 PM
The runtime error you are seeing is because the way that we find tests to show on the VI Tester UI is via 'introspection' and it just happens that we're searching for VIs named test*.vi and test*.vit is being found as a 'match'.
FWIW the error doesn't seem to hurt anything. I suppose I could just go into <Labview>\resource\JKI\VI Tester\Templates\TestCase and rename textExample.vi to Example.vit. Then I wouldn't have to rename it at all for new test cases.
Posted 15 November 2010 - 12:55 AM
Posted 08 July 2011 - 06:07 PM
Update: We're getting ready for a new VI Tester release and this feature suggestion has been implemented. Stay tuned!
This actually improves workflow quite a bit. Now I can right-click on testExample.vit and select "New from Template". Thanks!
Posted 16 April 2012 - 10:56 AM
Posted 17 April 2012 - 03:54 PM
Or better yet, allow us to replace the default template with our own templates.
It would also be nice if the standard template would have bit more space and that everything is lined up correctly
(FYI, test cases are usually similar enough that I create new ones by opening an existing test case and selecting "Save As..." rather than starting from scratch every time.)