JKI Discussion Forums
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Suggestion: testExample.vit Rate Topic: -----

#1
User is offline   Daklu 

  • Group: Members
  • Posts: 33
  • Joined: 08-May 08
When I create a new test case class the first thing I do is rename testExample.vi to textExample.vit. That simplifies my work flow a bit for a couple reasons:

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?

Attached Image: monthly_08_2009/post-2450-1250006054.png
0 kudos

#2
User is offline   Omar Mussa 

  • Group: JKI Team
  • Posts: 88
  • Joined: 12-October 06

View PostDaklu, on Aug 11 2009, 03:58 PM, said:

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.
0 kudos

#3
User is offline   Daklu 

  • Group: Members
  • Posts: 33
  • Joined: 08-May 08

View PostOmar Mussa, on Aug 11 2009, 11:01 AM, said:

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.
0 kudos

#4
User is offline   Omar Mussa 

  • Group: JKI Team
  • Posts: 88
  • Joined: 12-October 06
Update: We're getting ready for a new VI Tester release and this feature suggestion has been implemented. Stay tuned!
0 kudos

#5
User is offline   Rob Calhoun 

  • Group: Members
  • Posts: 5
  • Joined: 20-January 09

View PostOmar Mussa, on 15 November 2010 - 12:55 AM, said:

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!
0 kudos

#6
User is offline   WG- 

  • Group: Members
  • Posts: 11
  • Joined: 21-November 10
It would also be nice if the standard template would have bit more space and that everything is lined up correctly
0 kudos

#7
User is offline   Daklu 

  • Group: Members
  • Posts: 33
  • Joined: 08-May 08

View PostWG-, on 16 April 2012 - 10:56 AM, said:

It would also be nice if the standard template would have bit more space and that everything is lined up correctly

Or better yet, allow us to replace the default template with our own templates.

(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.)
0 kudos

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic