Jump to content
Embedded

Adding a test case to a test suite

Recommended Posts

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.

  • Upvote 1

Share this post


Link to post
Share on other sites

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.

 

post-95-0-47014800-1308192019_thumb.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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

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