Jump to content

Adding a test case to a test suite


Embedded

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.

Link to comment
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.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

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