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

Adding a test case to a test suite Rate Topic: -----

#1
User is offline   Embedded 

  • Group: Members
  • Posts: 1
  • Joined: 15-June 11
I'm kind of a noob to this, sorry, but how do you add a test case to a test suite? I couldn't find anything on the website or the forum discussing how to actually use test suites so I'm assuming that this is a relatively new feature. I can create test suites and I can create test cases, but VI Tester always recognizes them as two separate entities. I want my test cases to be a subgroup of the test suite. I am assuming that this was the intention of these modules.
0 kudos

#2
User is offline   Omar Mussa 

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

View PostEmbedded, on 15 June 2011 - 05:18 PM, said:

I want my test cases to be a subgroup of the test suite. I am assuming that this was the intention of these modules.


Yes, you are correct! TestSuites can contain subgroups of TestCases (and also TestSuites). The way you declare which tests you want to add to a TestSuite is by updating the 'New.vi' method of the TestSuite.

Attached Image: VI_Tester_TestSuites.png

In the example image above, MyTestCase1 and MyTestCase2 are the tests that I've added to the TestSuite. These will now show up beneath the TestSuite on the Test Hierarchy tree in the GUI.

Sorry for the lack of documentation! We're still working on the documentation aspects of the product. Let us know if there are other areas where you could use additional documentation/guidance.

Also, let me know if you're still confused about how to add tests.
0 kudos

Share this topic:


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